Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.001503/0.001503, allocations: 80.3 kB / 21.47 MB, free: 3.035 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.001173/0.001173, allocations: 173.4 kB / 24.87 MB, free: 8.891 MB / 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.9659/0.9659, allocations: 177.1 MB / 205.3 MB, free: 5.129 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.898/1.898, allocations: 377.9 MB / 0.6247 GB, free: 8.422 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_3.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.|load_sc_3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_3.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.|load_sc_3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.8128 GB, free: 328 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/2.955e-05, allocations: 2.906 kB / 0.8128 GB, free: 324 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01725/0.01728, allocations: 15.08 MB / 0.8275 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01058/0.02786, allocations: 4.487 MB / 0.8319 GB, free: 12.72 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003058/0.03092, allocations: 154.8 kB / 0.8321 GB, free: 12.57 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 0.00242/0.03334, allocations: 0.6282 MB / 0.8327 GB, free: 11.94 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 0.004614/0.03795, allocations: 1.469 MB / 0.8341 GB, free: 10.47 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.0033/0.04125, allocations: 1.314 MB / 0.8354 GB, free: 9.16 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.005963/0.04721, allocations: 6.18 MB / 0.8414 GB, free: 2.957 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004495/0.05171, allocations: 3.778 MB / 0.8451 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005179/0.05689, allocations: 3.697 MB / 0.8487 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003886/0.06077, allocations: 2.863 MB / 0.8515 GB, free: 8.523 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0009939/0.06177, allocations: 0.5095 MB / 0.852 GB, free: 8.016 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.06302, allocations: 0.5974 MB / 0.8526 GB, free: 7.418 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001857/0.06487, allocations: 2.218 MB / 0.8548 GB, free: 5.195 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.002648/0.06752, allocations: 1.672 MB / 0.8564 GB, free: 3.52 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.004364/0.07188, allocations: 4.11 MB / 0.8604 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.07189, allocations: 0 / 0.8604 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.232e-06/0.07189, allocations: 2.156 kB / 0.8604 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001164/0.07201, allocations: 0 / 0.8604 GB, free: 15.4 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.00511/0.07712, allocations: 4.383 MB / 0.8647 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.07715, allocations: 12.03 kB / 0.8647 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002267/0.07942, allocations: 1.098 MB / 0.8658 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002565/0.08199, allocations: 2.255 MB / 0.868 GB, free: 7.535 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.08211, allocations: 267.7 kB / 0.8682 GB, free: 7.273 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004644/0.08258, allocations: 388.8 kB / 0.8686 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003963/0.08654, allocations: 3.721 MB / 0.8722 GB, free: 2.723 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.914e-05/0.08661, allocations: 15.81 kB / 0.8723 GB, free: 2.707 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000227/0.08684, allocations: 164 kB / 0.8724 GB, free: 2.547 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003247/0.08716, allocations: 270.9 kB / 0.8727 GB, free: 2.281 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.0888, allocations: 1.124 MB / 0.8738 GB, free: 1.148 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01435/0.1032, allocations: 18.88 MB / 0.8922 GB, free: 13.68 MB / 0.8074 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005241/0.1037, allocations: 385 kB / 0.8926 GB, free: 13.29 MB / 0.8074 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003776/0.1041, allocations: 359.2 kB / 0.8929 GB, free: 12.94 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 5.614e-05/0.1041, allocations: 17 kB / 0.8929 GB, free: 12.93 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.1041, allocations: 50.39 kB / 0.893 GB, free: 12.86 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=110): time 3.828e-06/0.1041, allocations: 0 / 0.893 GB, free: 12.86 MB / 0.8074 GB Notification: Performance of matching and sorting (n=131): time 0.007514/0.1117, allocations: 4.189 MB / 0.8971 GB, free: 8.613 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.1117, allocations: 64.72 kB / 0.8971 GB, free: 8.535 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009234/0.1126, allocations: 1.292 MB / 0.8984 GB, free: 7.227 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 6.992e-05/0.1127, allocations: 45.7 kB / 0.8984 GB, free: 7.176 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009043/0.1136, allocations: 1.78 MB / 0.9002 GB, free: 5.379 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002801/0.1139, allocations: 0.4958 MB / 0.9007 GB, free: 4.879 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000326/0.1142, allocations: 336.9 kB / 0.901 GB, free: 4.539 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 9.209e-05/0.1143, allocations: 476.8 kB / 0.9014 GB, free: 4.07 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.1146, allocations: 251.7 kB / 0.9017 GB, free: 3.824 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006409/0.1152, allocations: 1.038 MB / 0.9027 GB, free: 2.457 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.1163, allocations: 1.422 MB / 0.9041 GB, free: 0.707 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.1163, allocations: 4 kB / 0.9041 GB, free: 0.7031 MB / 0.8074 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002415/0.1187, allocations: 1.801 MB / 0.9058 GB, free: 14.86 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.1188, allocations: 12 kB / 0.9058 GB, free: 14.84 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.1188, allocations: 16 kB / 0.9059 GB, free: 14.83 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.1201, allocations: 0.6024 MB / 0.9065 GB, free: 14.19 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007271/0.1209, allocations: 335.5 kB / 0.9068 GB, free: 13.86 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008445/0.1293, allocations: 16.84 MB / 0.9232 GB, free: 11.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.1303, allocations: 52.19 kB / 0.9233 GB, free: 11.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-05/0.1304, allocations: 68 kB / 0.9233 GB, free: 11.87 MB / 0.8386 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008169/0.1312, allocations: 268 kB / 0.9236 GB, free: 11.6 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002776/0.1315, allocations: 234.8 kB / 0.9238 GB, free: 11.37 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/0.1334, allocations: 1.388 MB / 0.9252 GB, free: 9.922 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.1334, allocations: 12 kB / 0.9252 GB, free: 9.91 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.924e-06/0.1334, allocations: 8 kB / 0.9252 GB, free: 9.902 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.1334, allocations: 7.969 kB / 0.9252 GB, free: 9.895 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00474/0.1382, allocations: 3.278 MB / 0.9284 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.1382, allocations: 11.94 kB / 0.9284 GB, free: 6.438 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000505/0.1387, allocations: 179.7 kB / 0.9286 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001243/0.1399, allocations: 0.5596 MB / 0.9291 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.979e-05/0.14, allocations: 35.98 kB / 0.9292 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008916/0.1489, allocations: 16.79 MB / 0.9456 GB, free: 3.805 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.1489, allocations: 4 kB / 0.9456 GB, free: 3.801 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002773/0.1517, allocations: 1.884 MB / 0.9474 GB, free: 1.77 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007373/0.1524, allocations: 326.6 kB / 0.9477 GB, free: 1.449 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.1526, allocations: 35.98 kB / 0.9477 GB, free: 1.414 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004338/0.153, allocations: 31.94 kB / 0.9478 GB, free: 1.383 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002468/0.1533, allocations: 116.7 kB / 0.9479 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.177e-05/0.1533, allocations: 32 kB / 0.9479 GB, free: 1.238 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005676/0.1539, allocations: 0.6974 MB / 0.9486 GB, free: 0.5469 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1539, allocations: 0 / 0.9486 GB, free: 0.5469 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001791/0.1557, allocations: 0.6954 MB / 0.9493 GB, free: 15.85 MB / 0.8699 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002075/0.1559, allocations: 158.4 kB / 0.9494 GB, free: 15.69 MB / 0.8699 GB Notification: Performance of simCode: created initialization part: time 0.002424/0.1583, allocations: 2.729 MB / 0.9521 GB, free: 12.8 MB / 0.8699 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.1583, allocations: 3.938 kB / 0.9521 GB, free: 12.8 MB / 0.8699 GB Notification: Performance of simCode: created simulation system equations: time 0.001506/0.1598, allocations: 2.201 MB / 0.9542 GB, free: 10.43 MB / 0.8699 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/0.1615, allocations: 0.641 MB / 0.9549 GB, free: 9.812 MB / 0.8699 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007482/0.169, allocations: 5.815 MB / 0.9606 GB, free: 3.855 MB / 0.8699 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009701/0.17, allocations: 0.9364 MB / 0.9615 GB, free: 2.895 MB / 0.8699 GB Notification: Performance of simCode: alias equations: time 0.0008177/0.1708, allocations: 240.7 kB / 0.9617 GB, free: 2.656 MB / 0.8699 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000882/0.1717, allocations: 0.5916 MB / 0.9623 GB, free: 2.062 MB / 0.8699 GB Notification: Performance of SimCode: time 1.923e-06/0.1717, allocations: 0 / 0.9623 GB, free: 2.062 MB / 0.8699 GB Notification: Performance of Templates: time 0.05125/0.2229, allocations: 37.22 MB / 0.9986 GB, free: 13.64 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.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.955189418978989]