Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.001174/0.001174, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009123/0.0009123, allocations: 181 kB / 23.36 MB, free: 1.133 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.9581/0.9581, allocations: 177.1 MB / 203.8 MB, free: 5.469 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 2.344/2.344, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.03e-05, allocations: 4.422 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004091/0.004111, allocations: 4.127 MB / 0.8426 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002194/0.006305, allocations: 1.566 MB / 0.8441 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002754/0.006581, allocations: 31.69 kB / 0.8442 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004909/0.007072, allocations: 178.7 kB / 0.8443 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0005063/0.007578, allocations: 373.6 kB / 0.8447 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004601/0.008038, allocations: 343.2 kB / 0.845 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0007462/0.008784, allocations: 0.9941 MB / 0.846 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004183/0.009203, allocations: 411.1 kB / 0.8464 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007748/0.009977, allocations: 0.5221 MB / 0.8469 GB, free: 5.672 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003969/0.01037, allocations: 370.9 kB / 0.8473 GB, free: 5.309 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.916e-05/0.01042, allocations: 52 kB / 0.8473 GB, free: 5.258 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.01061, allocations: 127.8 kB / 0.8474 GB, free: 5.133 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001651/0.01078, allocations: 263.2 kB / 0.8477 GB, free: 4.875 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.01094, allocations: 235.4 kB / 0.8479 GB, free: 4.645 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005139/0.01146, allocations: 0.5955 MB / 0.8485 GB, free: 4.047 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.01146, allocations: 0 / 0.8485 GB, free: 4.047 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.112e-06/0.01146, allocations: 0 / 0.8485 GB, free: 4.047 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.01147, allocations: 0 / 0.8485 GB, free: 4.047 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.0008288/0.01229, allocations: 0.849 MB / 0.8493 GB, free: 3.168 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.01233, allocations: 12.62 kB / 0.8493 GB, free: 3.156 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006503/0.01298, allocations: 236.3 kB / 0.8495 GB, free: 2.926 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004634/0.01344, allocations: 443.3 kB / 0.85 GB, free: 2.469 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.01347, allocations: 37.36 kB / 0.85 GB, free: 2.43 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.01358, allocations: 60.53 kB / 0.8501 GB, free: 2.371 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005034/0.01408, allocations: 0.6849 MB / 0.8507 GB, free: 1.566 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.0141, allocations: 16.06 kB / 0.8507 GB, free: 1.551 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.01413, allocations: 28.12 kB / 0.8508 GB, free: 1.523 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/0.01424, allocations: 60.95 kB / 0.8508 GB, free: 1.465 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.01446, allocations: 202.6 kB / 0.851 GB, free: 1.266 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/0.01662, allocations: 3.034 MB / 0.854 GB, free: 14.12 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.0168, allocations: 164.9 kB / 0.8541 GB, free: 13.95 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.818e-05/0.01688, allocations: 69.95 kB / 0.8542 GB, free: 13.88 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.0169, allocations: 4.281 kB / 0.8542 GB, free: 13.87 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.01692, allocations: 38.84 kB / 0.8543 GB, free: 13.82 MB / 0.823 GB Notification: Performance of pre-optimization done (n=33): time 2.033e-06/0.01692, allocations: 0 / 0.8543 GB, free: 13.82 MB / 0.823 GB Notification: Performance of matching and sorting (n=34): time 0.001606/0.01853, allocations: 0.9924 MB / 0.8552 GB, free: 12.79 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.01855, allocations: 55.41 kB / 0.8553 GB, free: 12.73 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.01876, allocations: 403 kB / 0.8557 GB, free: 12.32 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.01879, allocations: 29.7 kB / 0.8557 GB, free: 12.29 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.01891, allocations: 317.3 kB / 0.856 GB, free: 11.97 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.142e-05/0.01897, allocations: 126.9 kB / 0.8561 GB, free: 11.84 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.263e-05/0.01906, allocations: 94.25 kB / 0.8562 GB, free: 11.75 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.032e-05/0.01915, allocations: 366.6 kB / 0.8566 GB, free: 11.38 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.737e-05/0.01923, allocations: 60.11 kB / 0.8566 GB, free: 11.32 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.01938, allocations: 231.2 kB / 0.8568 GB, free: 11.02 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.01963, allocations: 351.3 kB / 0.8572 GB, free: 10.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01964, allocations: 0 / 0.8572 GB, free: 10.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0004612/0.0201, allocations: 423.6 kB / 0.8576 GB, free: 10.17 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.02011, allocations: 6.031 kB / 0.8576 GB, free: 10.17 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.02012, allocations: 8 kB / 0.8576 GB, free: 10.16 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003861/0.02051, allocations: 159.2 kB / 0.8577 GB, free: 9.996 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.02072, allocations: 95.89 kB / 0.8578 GB, free: 9.902 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.02243, allocations: 2.638 MB / 0.8604 GB, free: 7.066 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.02258, allocations: 16 kB / 0.8604 GB, free: 7.051 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.0226, allocations: 23.97 kB / 0.8604 GB, free: 7.027 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.02272, allocations: 152.4 kB / 0.8606 GB, free: 6.867 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/0.02277, allocations: 47.98 kB / 0.8606 GB, free: 6.82 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000385/0.02316, allocations: 322.4 kB / 0.8609 GB, free: 6.488 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.02316, allocations: 4 kB / 0.8609 GB, free: 6.484 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.02316, allocations: 4 kB / 0.8609 GB, free: 6.48 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.02317, allocations: 3.984 kB / 0.861 GB, free: 6.477 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007031/0.02387, allocations: 0.6851 MB / 0.8616 GB, free: 5.742 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.02387, allocations: 0 / 0.8616 GB, free: 5.742 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.02401, allocations: 55.91 kB / 0.8617 GB, free: 5.688 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003228/0.02433, allocations: 159.5 kB / 0.8618 GB, free: 5.523 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.02435, allocations: 7.984 kB / 0.8618 GB, free: 5.516 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/0.02571, allocations: 2.632 MB / 0.8644 GB, free: 2.688 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.02571, allocations: 3.938 kB / 0.8644 GB, free: 2.684 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005009/0.02621, allocations: 0.5233 MB / 0.8649 GB, free: 2.117 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.971e-05/0.0263, allocations: 67.72 kB / 0.865 GB, free: 2.051 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.02634, allocations: 11.98 kB / 0.865 GB, free: 2.039 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.02646, allocations: 11.98 kB / 0.865 GB, free: 2.027 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.0265, allocations: 27.95 kB / 0.865 GB, free: 2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.02652, allocations: 8 kB / 0.865 GB, free: 1.992 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001088/0.02663, allocations: 168.4 kB / 0.8652 GB, free: 1.824 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.02663, allocations: 0 / 0.8652 GB, free: 1.824 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003685/0.02699, allocations: 156 kB / 0.8654 GB, free: 1.672 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,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.0001302/0.02712, allocations: 92.36 kB / 0.8654 GB, free: 1.574 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005307/0.02766, allocations: 0.5105 MB / 0.8659 GB, free: 1.035 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/0.02767, allocations: 9.375 kB / 0.8659 GB, free: 1.027 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002811/0.02795, allocations: 391 kB / 0.8663 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.02838, allocations: 171.2 kB / 0.8665 GB, free: 464 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.02994, allocations: 1.061 MB / 0.8675 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.03007, allocations: 170.3 kB / 0.8677 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001545/0.03022, allocations: 68.69 kB / 0.8677 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.03045, allocations: 177.2 kB / 0.8679 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of SimCode: time 9.02e-07/0.03045, allocations: 0 / 0.8679 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of Templates: time 0.01127/0.04172, allocations: 8.555 MB / 0.8763 GB, free: 6.551 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_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.250906247179955]