Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.436/1.436, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.791/2.791, allocations: 462.7 MB / 0.7371 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005702/0.0005701, allocations: 8.969 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3128, allocations: 159.6 MB / 1.059 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03224/0.3451, allocations: 29.73 MB / 1.088 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02116/0.3663, allocations: 13.39 MB / 1.101 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004112/0.3704, allocations: 123.2 kB / 1.102 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00294/0.3734, allocations: 0.659 MB / 1.102 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008168/0.3816, allocations: 2.48 MB / 1.105 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004974/0.3866, allocations: 1.718 MB / 1.106 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01187/0.3985, allocations: 10.42 MB / 1.116 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01717/0.4157, allocations: 10.18 MB / 1.126 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005232/0.421, allocations: 2.584 MB / 1.129 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004882/0.4259, allocations: 2.95 MB / 1.132 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001309/0.4272, allocations: 244 kB / 1.132 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003681/0.4309, allocations: 1.384 MB / 1.133 GB, free: 8.77 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002905/0.4338, allocations: 1.913 MB / 1.135 GB, free: 6.852 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.004155/0.438, allocations: 2.388 MB / 1.138 GB, free: 4.445 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.008209/0.4462, allocations: 7.765 MB / 1.145 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4463, allocations: 0 / 1.145 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4463, allocations: 0 / 1.145 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002918/0.4466, allocations: 4 kB / 1.145 GB, free: 12.66 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.009894/0.4565, allocations: 4.146 MB / 1.149 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.4565, allocations: 11.97 kB / 1.149 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006462/0.463, allocations: 1.006 MB / 1.15 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006307/0.4693, allocations: 2.896 MB / 1.153 GB, free: 4.434 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003308/0.4697, allocations: 320.8 kB / 1.153 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001416/0.4711, allocations: 427.9 kB / 1.154 GB, free: 3.699 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01525/0.4864, allocations: 6.784 MB / 1.16 GB, free: 12.62 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002264/0.4867, allocations: 27.77 kB / 1.16 GB, free: 12.59 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001132/0.4878, allocations: 184 kB / 1.161 GB, free: 12.41 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009582/0.4888, allocations: 368 kB / 1.161 GB, free: 12.05 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/0.4997, allocations: 5.118 MB / 1.166 GB, free: 6.914 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03635/0.536, allocations: 30.78 MB / 1.196 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/0.5383, allocations: 1.381 MB / 1.197 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001855/0.5402, allocations: 1.339 MB / 1.199 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.5403, allocations: 13.31 kB / 1.199 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.509e-05/0.5404, allocations: 51.88 kB / 1.199 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=130): time 3.366e-06/0.5404, allocations: 0 / 1.199 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of matching and sorting (n=199): time 0.09141/0.6318, allocations: 22.8 MB / 1.221 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.6319, allocations: 73.34 kB / 1.221 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003229/0.6351, allocations: 2.058 MB / 1.223 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002794/0.6354, allocations: 65.7 kB / 1.223 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001582/0.637, allocations: 2.01 MB / 1.225 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007463/0.6378, allocations: 0.6816 MB / 1.226 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000354/0.6382, allocations: 182.3 kB / 1.226 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.6383, allocations: 309.1 kB / 1.226 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002415/0.6407, allocations: 1.426 MB / 1.228 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002842/0.6435, allocations: 2.017 MB / 1.23 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005414/0.649, allocations: 3.688 MB / 1.233 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.881e-05/0.649, allocations: 11.94 kB / 1.233 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.0127/0.6617, allocations: 5.661 MB / 1.239 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.501e-05/0.6618, allocations: 12 kB / 1.239 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.704e-05/0.6619, allocations: 16 kB / 1.239 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007279/0.6691, allocations: 2.091 MB / 1.241 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/0.6708, allocations: 375.4 kB / 1.241 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6283/1.299, allocations: 35.53 MB / 1.276 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00252/1.302, allocations: 127.6 kB / 1.276 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002606/1.302, allocations: 97 kB / 1.276 GB, free: 150.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002921/1.305, allocations: 1.503 MB / 1.278 GB, free: 150.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006518/1.306, allocations: 284.5 kB / 1.278 GB, free: 150.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/1.317, allocations: 5.214 MB / 1.283 GB, free: 149 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.605e-05/1.317, allocations: 19 kB / 1.283 GB, free: 149 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-05/1.318, allocations: 18.64 kB / 1.283 GB, free: 149 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.762e-05/1.318, allocations: 10.02 kB / 1.283 GB, free: 149 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0188/1.336, allocations: 9.682 MB / 1.292 GB, free: 145 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.09e-05/1.336, allocations: 10.06 kB / 1.292 GB, free: 145 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009252/1.337, allocations: 207.3 kB / 1.293 GB, free: 145 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005895/1.343, allocations: 1.848 MB / 1.294 GB, free: 144.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002999/1.344, allocations: 43.25 kB / 1.294 GB, free: 144.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02788/1.372, allocations: 34.55 MB / 1.328 GB, free: 116.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/1.372, allocations: 15.91 kB / 1.328 GB, free: 116.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008077/1.38, allocations: 4.917 MB / 1.333 GB, free: 113.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/1.381, allocations: 0.6124 MB / 1.334 GB, free: 112.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000371/1.381, allocations: 48.23 kB / 1.334 GB, free: 112.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/1.383, allocations: 135.2 kB / 1.334 GB, free: 112.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005996/1.384, allocations: 189.5 kB / 1.334 GB, free: 112.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/1.384, allocations: 58.66 kB / 1.334 GB, free: 112.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001728/1.385, allocations: 1.373 MB / 1.335 GB, free: 111.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.71e-07/1.385, allocations: 0 / 1.335 GB, free: 111.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003826/1.389, allocations: 1.048 MB / 1.336 GB, free: 111.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003122/1.39, allocations: 172.8 kB / 1.337 GB, free: 111.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008331/1.398, allocations: 6.259 MB / 1.343 GB, free: 107.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/1.398, allocations: 3.719 kB / 1.343 GB, free: 107.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005867/1.404, allocations: 4.415 MB / 1.347 GB, free: 103.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006597/1.41, allocations: 0.9281 MB / 1.348 GB, free: 103.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01301/1.423, allocations: 10.6 MB / 1.358 GB, free: 92.38 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002749/1.426, allocations: 3.194 MB / 1.361 GB, free: 89.15 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006561/1.427, allocations: 155.4 kB / 1.362 GB, free: 89 MB / 0.9981 GB Notification: Performance of SimCode: time 1.162e-06/1.427, allocations: 0 / 1.362 GB, free: 89 MB / 0.9981 GB Notification: Performance of Templates: time 0.9859/2.413, allocations: 464.1 MB / 1.815 GB, free: 392.8 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches