Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01024/0.01024, allocations: 171.8 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.671/2.671, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.000365, allocations: 12.22 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8214/0.8218, allocations: 142.4 MB / 0.955 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006912/0.8287, allocations: 4.515 MB / 0.9595 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004982/0.8338, allocations: 2.471 MB / 0.9619 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008815/0.8347, allocations: 21.53 kB / 0.9619 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005261/0.8353, allocations: 93.59 kB / 0.962 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.8371, allocations: 416.7 kB / 0.9624 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.8384, allocations: 362.5 kB / 0.9627 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001959/0.8404, allocations: 1.138 MB / 0.9638 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.8417, allocations: 469 kB / 0.9643 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000973/0.8427, allocations: 291.5 kB / 0.9646 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009577/0.8437, allocations: 335.4 kB / 0.9649 GB, free: 384 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.8438, allocations: 21.19 kB / 0.9649 GB, free: 384 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.8453, allocations: 494 kB / 0.9654 GB, free: 108 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004388/0.8457, allocations: 170.8 kB / 0.9655 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009584/0.8467, allocations: 314 kB / 0.9658 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002531/0.8493, allocations: 0.8844 MB / 0.9667 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.8493, allocations: 0 / 0.9667 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.867e-06/0.8493, allocations: 1.031 kB / 0.9667 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.385e-05/0.8493, allocations: 0 / 0.9667 GB, free: 15.2 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.002616/0.852, allocations: 0.8377 MB / 0.9675 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.563e-05/0.852, allocations: 9.25 kB / 0.9675 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/0.8538, allocations: 197.9 kB / 0.9677 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009645/0.8548, allocations: 0.5018 MB / 0.9682 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.064e-05/0.8548, allocations: 35.73 kB / 0.9682 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.907e-05/0.8549, allocations: 44.38 kB / 0.9683 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.8564, allocations: 0.8519 MB / 0.9691 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.212e-05/0.8564, allocations: 7.188 kB / 0.9691 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.222e-05/0.8565, allocations: 24.3 kB / 0.9691 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001186/0.8566, allocations: 70.48 kB / 0.9692 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009718/0.8576, allocations: 0.5639 MB / 0.9698 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006048/0.8636, allocations: 5.653 MB / 0.9753 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007495/0.8644, allocations: 460.5 kB / 0.9757 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003556/0.8648, allocations: 231.1 kB / 0.9759 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.8648, allocations: 3.25 kB / 0.9759 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/0.8649, allocations: 32.38 kB / 0.976 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 2.815e-06/0.8649, allocations: 0 / 0.976 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.00302/0.8679, allocations: 1.52 MB / 0.9775 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.868, allocations: 55.41 kB / 0.9775 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006113/0.8686, allocations: 0.4986 MB / 0.978 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.8686, allocations: 30.83 kB / 0.978 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004519/0.8691, allocations: 359.2 kB / 0.9784 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.8692, allocations: 130.5 kB / 0.9785 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.8693, allocations: 51.27 kB / 0.9785 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0003242/0.8696, allocations: 371.6 kB / 0.9789 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.8699, allocations: 189.2 kB / 0.9791 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004791/0.8704, allocations: 449.3 kB / 0.9795 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008608/0.8713, allocations: 0.6933 MB / 0.9802 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.8713, allocations: 2.906 kB / 0.9802 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00141/0.8727, allocations: 0.8037 MB / 0.981 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.8727, allocations: 8.281 kB / 0.981 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.8727, allocations: 9.094 kB / 0.981 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000527/0.8733, allocations: 161.5 kB / 0.9811 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.8738, allocations: 123.2 kB / 0.9813 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003678/0.8775, allocations: 4.039 MB / 0.9852 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005214/0.878, allocations: 29.11 kB / 0.9852 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/0.878, allocations: 31.3 kB / 0.9853 GB, free: 14.91 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003611/0.8784, allocations: 214.1 kB / 0.9855 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.8785, allocations: 63.12 kB / 0.9855 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.8797, allocations: 0.6 MB / 0.9861 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.8797, allocations: 4 kB / 0.9861 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.8797, allocations: 0 / 0.9861 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.8797, allocations: 11.86 kB / 0.9861 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/0.8817, allocations: 1.263 MB / 0.9874 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.8817, allocations: 4.031 kB / 0.9874 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.882, allocations: 51.95 kB / 0.9874 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004036/0.8824, allocations: 148.1 kB / 0.9876 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.8824, allocations: 11.98 kB / 0.9876 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003562/0.886, allocations: 4.02 MB / 0.9915 GB, free: 8.094 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.944e-06/0.886, allocations: 11.95 kB / 0.9915 GB, free: 8.082 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.8871, allocations: 0.7048 MB / 0.9922 GB, free: 7.324 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.8874, allocations: 168.3 kB / 0.9923 GB, free: 7.141 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/0.8874, allocations: 11.94 kB / 0.9924 GB, free: 7.129 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.8877, allocations: 27.91 kB / 0.9924 GB, free: 7.102 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.538e-05/0.8878, allocations: 31.89 kB / 0.9924 GB, free: 7.07 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.8878, allocations: 12 kB / 0.9924 GB, free: 7.059 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003724/0.8882, allocations: 338.8 kB / 0.9928 GB, free: 6.73 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8882, allocations: 4 kB / 0.9928 GB, free: 6.727 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007557/0.889, allocations: 140 kB / 0.9929 GB, free: 6.59 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001556/0.8891, allocations: 112.6 kB / 0.993 GB, free: 6.473 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001458/0.8906, allocations: 1.033 MB / 0.994 GB, free: 5.359 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.8906, allocations: 4 kB / 0.994 GB, free: 5.355 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008169/0.8914, allocations: 0.7387 MB / 0.9947 GB, free: 4.535 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.8926, allocations: 196 kB / 0.9949 GB, free: 4.348 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.8946, allocations: 1.286 MB / 0.9962 GB, free: 3.012 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005841/0.8952, allocations: 0.9098 MB / 0.9971 GB, free: 2.07 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003396/0.8955, allocations: 121.3 kB / 0.9972 GB, free: 1.949 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.8956, allocations: 47.42 kB / 0.9972 GB, free: 1.906 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.8957, allocations: 0 / 0.9972 GB, free: 1.906 MB / 0.7481 GB Notification: Performance of Templates: time 0.01449/0.9102, allocations: 7.271 MB / 1.004 GB, free: 10.72 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches