Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 169.4 kB / 24.05 MB, free: 460 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9136/0.9136, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.982/1.982, allocations: 429.5 MB / 0.6743 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.8794 GB, free: 5.867 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/2.018e-05, allocations: 6.25 kB / 0.8794 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005547/0.005567, allocations: 4.813 MB / 0.8841 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001933/0.0075, allocations: 1.712 MB / 0.8858 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001979/0.007697, allocations: 35.69 kB / 0.8858 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0007567/0.008454, allocations: 207.5 kB / 0.886 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0004825/0.008937, allocations: 450.5 kB / 0.8864 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.009392, allocations: 402.1 kB / 0.8868 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0007948/0.01019, allocations: 1.279 MB / 0.8881 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005042/0.01069, allocations: 0.5334 MB / 0.8886 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005076/0.0112, allocations: 0.6715 MB / 0.8892 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004482/0.01165, allocations: 0.4909 MB / 0.8897 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.589e-05/0.01171, allocations: 68 kB / 0.8898 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.01189, allocations: 139.8 kB / 0.8899 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.01208, allocations: 331 kB / 0.8902 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.01229, allocations: 307.2 kB / 0.8905 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005433/0.01283, allocations: 0.7435 MB / 0.8913 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.01283, allocations: 4 kB / 0.8913 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.52e-07/0.01283, allocations: 0 / 0.8913 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.01284, allocations: 0 / 0.8913 GB, free: 9.707 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001006/0.01385, allocations: 1.184 MB / 0.8924 GB, free: 8.484 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.01387, allocations: 8.031 kB / 0.8924 GB, free: 8.477 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008206/0.0147, allocations: 287.8 kB / 0.8927 GB, free: 8.195 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007878/0.01548, allocations: 0.5406 MB / 0.8932 GB, free: 7.625 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/0.01552, allocations: 49.67 kB / 0.8933 GB, free: 7.578 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.258e-05/0.01559, allocations: 68.36 kB / 0.8933 GB, free: 7.512 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006713/0.01626, allocations: 1.03 MB / 0.8943 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.01628, allocations: 4.188 kB / 0.8943 GB, free: 6.273 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.404e-05/0.01632, allocations: 36.36 kB / 0.8944 GB, free: 6.238 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/0.01643, allocations: 89.12 kB / 0.8945 GB, free: 6.152 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/0.01674, allocations: 288.5 kB / 0.8947 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00297/0.01971, allocations: 5.573 MB / 0.9002 GB, free: 104 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003916/0.0201, allocations: 257.5 kB / 0.9004 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.02023, allocations: 109.1 kB / 0.9005 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.02025, allocations: 8.5 kB / 0.9005 GB, free: 15.72 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.02028, allocations: 53.75 kB / 0.9006 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 2.014e-06/0.02028, allocations: 0 / 0.9006 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of matching and sorting (n=48): time 0.001456/0.02174, allocations: 0.8968 MB / 0.9015 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.02176, allocations: 59.91 kB / 0.9015 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.02205, allocations: 0.5255 MB / 0.902 GB, free: 14.13 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.02208, allocations: 37.7 kB / 0.9021 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.02227, allocations: 494.4 kB / 0.9025 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.401e-05/0.02236, allocations: 178.5 kB / 0.9027 GB, free: 13.42 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.02249, allocations: 136.2 kB / 0.9028 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.02263, allocations: 0.5429 MB / 0.9034 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.02273, allocations: 89.92 kB / 0.9035 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.02296, allocations: 408.6 kB / 0.9039 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003833/0.02334, allocations: 0.531 MB / 0.9044 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.02335, allocations: 4 kB / 0.9044 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007084/0.02406, allocations: 0.6792 MB / 0.905 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.02407, allocations: 8 kB / 0.905 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.02408, allocations: 4 kB / 0.905 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006561/0.02473, allocations: 298.6 kB / 0.9053 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.02496, allocations: 115.8 kB / 0.9054 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003453/0.02842, allocations: 7.469 MB / 0.9127 GB, free: 2.371 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.02863, allocations: 24.06 kB / 0.9128 GB, free: 2.348 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.02866, allocations: 24 kB / 0.9128 GB, free: 2.324 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,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.0001347/0.02879, allocations: 200.3 kB / 0.913 GB, free: 2.117 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.558e-05/0.02887, allocations: 87.56 kB / 0.9131 GB, free: 2.031 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005581/0.02942, allocations: 0.4986 MB / 0.9135 GB, free: 1.508 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.02943, allocations: 8 kB / 0.9136 GB, free: 1.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.02943, allocations: 7.938 kB / 0.9136 GB, free: 1.492 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.02944, allocations: 3.984 kB / 0.9136 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.03069, allocations: 1.011 MB / 0.9145 GB, free: 412 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.03069, allocations: 3.984 kB / 0.9146 GB, free: 408 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.0308, allocations: 47.92 kB / 0.9146 GB, free: 360 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005825/0.03139, allocations: 290.5 kB / 0.9149 GB, free: 52 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.03141, allocations: 8 kB / 0.9149 GB, free: 44 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003295/0.0347, allocations: 7.457 MB / 0.9222 GB, free: 8.129 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.0347, allocations: 4 kB / 0.9222 GB, free: 8.125 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005903/0.03529, allocations: 0.6895 MB / 0.9228 GB, free: 7.371 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.03541, allocations: 95.52 kB / 0.9229 GB, free: 7.277 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.969e-05/0.03545, allocations: 12 kB / 0.9229 GB, free: 7.266 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.0356, allocations: 12 kB / 0.923 GB, free: 7.254 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.03566, allocations: 51.78 kB / 0.923 GB, free: 7.203 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.03567, allocations: 12 kB / 0.923 GB, free: 7.191 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001559/0.03583, allocations: 322.7 kB / 0.9233 GB, free: 6.879 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.1e-08/0.03583, allocations: 0 / 0.9233 GB, free: 6.879 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004446/0.03627, allocations: 228 kB / 0.9235 GB, free: 6.656 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001094/0.03638, allocations: 119.2 kB / 0.9237 GB, free: 6.531 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0008134/0.0372, allocations: 1.136 MB / 0.9248 GB, free: 5.328 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.0372, allocations: 0 / 0.9248 GB, free: 5.328 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005433/0.03774, allocations: 0.9609 MB / 0.9257 GB, free: 4.293 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005525/0.0383, allocations: 210.8 kB / 0.9259 GB, free: 4.094 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.03962, allocations: 1.254 MB / 0.9271 GB, free: 2.77 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.03975, allocations: 211.4 kB / 0.9273 GB, free: 2.543 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001623/0.03991, allocations: 81.55 kB / 0.9274 GB, free: 2.461 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005249/0.04043, allocations: 250 kB / 0.9276 GB, free: 2.215 MB / 0.8855 GB Notification: Performance of SimCode: time 7.31e-07/0.04043, allocations: 0 / 0.9276 GB, free: 2.215 MB / 0.8855 GB Notification: Performance of Templates: time 0.01293/0.05337, allocations: 12.34 MB / 0.9397 GB, free: 6.125 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.355573069769889]