Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001313/0.001313, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009328/0.0009328, allocations: 161 kB / 24.16 MB, free: 336 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.909/0.909, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.866/1.866, allocations: 377.9 MB / 0.624 GB, free: 8.387 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 3.938 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035e-05/1.156e-05, allocations: 3.188 kB / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.01244/0.01245, allocations: 16.99 MB / 0.7766 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00594/0.01839, allocations: 5.224 MB / 0.7817 GB, free: 388 kB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006673/0.01906, allocations: 194.6 kB / 0.7819 GB, free: 192 kB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.0201, allocations: 0.7532 MB / 0.7827 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001595/0.02169, allocations: 1.655 MB / 0.7843 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.0232, allocations: 1.56 MB / 0.7858 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.004939/0.02814, allocations: 7.352 MB / 0.793 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004382/0.03252, allocations: 5.382 MB / 0.7982 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003996/0.03652, allocations: 4.568 MB / 0.8027 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002829/0.03935, allocations: 3.421 MB / 0.806 GB, free: 7.309 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0005366/0.03988, allocations: 0.6522 MB / 0.8067 GB, free: 6.656 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008336/0.04072, allocations: 0.7366 MB / 0.8074 GB, free: 5.922 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.00151/0.04223, allocations: 2.752 MB / 0.8101 GB, free: 3.164 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001539/0.04376, allocations: 2.031 MB / 0.8121 GB, free: 1.129 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.00345/0.04721, allocations: 5.033 MB / 0.817 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.04722, allocations: 0 / 0.817 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.232e-06/0.04722, allocations: 0 / 0.817 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.85e-05/0.04727, allocations: 0 / 0.817 GB, free: 12.08 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.004124/0.05139, allocations: 4.691 MB / 0.8216 GB, free: 7.352 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.05143, allocations: 12.03 kB / 0.8216 GB, free: 7.34 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002289/0.05372, allocations: 1.225 MB / 0.8228 GB, free: 6.113 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002421/0.05614, allocations: 2.383 MB / 0.8251 GB, free: 3.684 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.0563, allocations: 349.7 kB / 0.8254 GB, free: 3.34 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004439/0.05674, allocations: 469.2 kB / 0.8259 GB, free: 2.883 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003749/0.06049, allocations: 4.303 MB / 0.8301 GB, free: 14.16 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.65e-05/0.06058, allocations: 31.89 kB / 0.8301 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002978/0.06088, allocations: 201.4 kB / 0.8303 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002114/0.06109, allocations: 320.9 kB / 0.8306 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.06278, allocations: 1.24 MB / 0.8318 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01198/0.07476, allocations: 18 MB / 0.8494 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007588/0.07552, allocations: 0.6958 MB / 0.8501 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003665/0.07588, allocations: 386.4 kB / 0.8504 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.848e-05/0.07593, allocations: 29.31 kB / 0.8505 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.07596, allocations: 45.25 kB / 0.8505 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=133): time 3.096e-06/0.07596, allocations: 0 / 0.8505 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of matching and sorting (n=136): time 0.004271/0.08023, allocations: 2.728 MB / 0.8532 GB, free: 5.832 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.08026, allocations: 70.36 kB / 0.8532 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006927/0.08096, allocations: 1.22 MB / 0.8544 GB, free: 4.531 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.271e-05/0.08102, allocations: 45.7 kB / 0.8545 GB, free: 4.48 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006486/0.08167, allocations: 1.852 MB / 0.8563 GB, free: 2.609 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002868/0.08196, allocations: 0.4918 MB / 0.8568 GB, free: 2.113 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/0.08223, allocations: 347.2 kB / 0.8571 GB, free: 1.766 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.707e-05/0.08229, allocations: 305.1 kB / 0.8574 GB, free: 1.465 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002404/0.08253, allocations: 199.9 kB / 0.8576 GB, free: 1.27 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000513/0.08304, allocations: 0.8824 MB / 0.8584 GB, free: 76 kB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009191/0.08396, allocations: 1.318 MB / 0.8597 GB, free: 14.45 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.08397, allocations: 8 kB / 0.8597 GB, free: 14.44 MB / 0.823 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.001832/0.0858, allocations: 1.656 MB / 0.8613 GB, free: 12.72 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.08582, allocations: 15.98 kB / 0.8614 GB, free: 12.71 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.08584, allocations: 24 kB / 0.8614 GB, free: 12.68 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.08706, allocations: 0.6756 MB / 0.862 GB, free: 11.96 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005471/0.08761, allocations: 315.4 kB / 0.8623 GB, free: 11.65 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008376/0.09598, allocations: 16.84 MB / 0.8788 GB, free: 9.648 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004987/0.09648, allocations: 60 kB / 0.8789 GB, free: 9.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.312e-05/0.09655, allocations: 68 kB / 0.8789 GB, free: 9.523 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.0006575/0.09721, allocations: 244 kB / 0.8791 GB, free: 9.273 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.09738, allocations: 167.8 kB / 0.8793 GB, free: 9.109 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.09888, allocations: 1.301 MB / 0.8806 GB, free: 7.75 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.09889, allocations: 19.98 kB / 0.8806 GB, free: 7.73 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.0989, allocations: 11.94 kB / 0.8806 GB, free: 7.719 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/0.09891, allocations: 7.969 kB / 0.8806 GB, free: 7.711 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004247/0.1032, allocations: 3.343 MB / 0.8839 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.1032, allocations: 4 kB / 0.8839 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003424/0.1035, allocations: 139.8 kB / 0.884 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001143/0.1046, allocations: 0.6171 MB / 0.8846 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.135e-05/0.1047, allocations: 24 kB / 0.8846 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007911/0.1126, allocations: 15.84 MB / 0.9001 GB, free: 2.395 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.1126, allocations: 19.98 kB / 0.9001 GB, free: 2.375 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/0.1141, allocations: 1.44 MB / 0.9015 GB, free: 0.8008 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/0.1145, allocations: 278.6 kB / 0.9018 GB, free: 0.5273 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.1146, allocations: 28 kB / 0.9018 GB, free: 0.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/0.1149, allocations: 28 kB / 0.9019 GB, free: 484 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.1151, allocations: 128.6 kB / 0.902 GB, free: 356 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.431e-05/0.1151, allocations: 32 kB / 0.902 GB, free: 324 kB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003884/0.1155, allocations: 0.5872 MB / 0.9026 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1155, allocations: 0 / 0.9026 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001543/0.117, allocations: 0.793 MB / 0.9034 GB, free: 14.94 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001653/0.1172, allocations: 131.2 kB / 0.9035 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00226/0.1195, allocations: 2.648 MB / 0.9061 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-05/0.1195, allocations: 25.81 kB / 0.9061 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.1209, allocations: 2.095 MB / 0.9081 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.1223, allocations: 0.7162 MB / 0.9088 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006649/0.1289, allocations: 6.841 MB / 0.9155 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008528/0.1298, allocations: 1.132 MB / 0.9166 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004623/0.1302, allocations: 237.5 kB / 0.9168 GB, free: 0.6836 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007405/0.131, allocations: 0.499 MB / 0.9173 GB, free: 180 kB / 0.8698 GB Notification: Performance of SimCode: time 1.012e-06/0.131, allocations: 0 / 0.9173 GB, free: 180 kB / 0.8698 GB Notification: Performance of Templates: time 0.04457/0.1755, allocations: 38.93 MB / 0.9554 GB, free: 10 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.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.690643305424601]