Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.0008915/0.0008915, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001449/0.001449, allocations: 169 kB / 24.28 MB, free: 276 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 1.007/1.007, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.844/1.844, allocations: 377.8 MB / 0.6239 GB, free: 8.551 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_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0.9844 kB / 0.8115 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.028e-05/3.228e-05, allocations: 7.344 kB / 0.8115 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03167/0.0317, allocations: 38.52 MB / 0.8492 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01329/0.045, allocations: 11.26 MB / 0.8602 GB, free: 164 kB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/0.04637, allocations: 202.5 kB / 0.8604 GB, free: 15.96 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.00609/0.05246, allocations: 4.515 MB / 0.8648 GB, free: 11.43 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.005263/0.05773, allocations: 2.396 MB / 0.8671 GB, free: 9.016 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004361/0.06209, allocations: 2.194 MB / 0.8692 GB, free: 6.816 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.009568/0.07165, allocations: 9.461 MB / 0.8785 GB, free: 13.33 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009833/0.08149, allocations: 6.381 MB / 0.8847 GB, free: 6.824 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01005/0.09153, allocations: 5.828 MB / 0.8904 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006379/0.09791, allocations: 4.478 MB / 0.8948 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.001758/0.09967, allocations: 0.8242 MB / 0.8956 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00309/0.1028, allocations: 1.521 MB / 0.8971 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.003521/0.1063, allocations: 3.434 MB / 0.9004 GB, free: 6.707 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.004237/0.1105, allocations: 2.597 MB / 0.903 GB, free: 4.105 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.008305/0.1188, allocations: 6.74 MB / 0.9095 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1188, allocations: 3.984 kB / 0.9095 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.845e-06/0.1188, allocations: 4 kB / 0.9096 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002989/0.1191, allocations: 0 / 0.9096 GB, free: 13.34 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.009733/0.1289, allocations: 6.687 MB / 0.9161 GB, free: 6.582 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.1289, allocations: 12.03 kB / 0.9161 GB, free: 6.57 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004172/0.1331, allocations: 1.702 MB / 0.9178 GB, free: 4.863 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004772/0.1379, allocations: 3.511 MB / 0.9212 GB, free: 1.289 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002148/0.1381, allocations: 419.8 kB / 0.9216 GB, free: 0.8789 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007224/0.1388, allocations: 0.5628 MB / 0.9221 GB, free: 324 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00885/0.1476, allocations: 6.265 MB / 0.9283 GB, free: 9.383 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.804e-05/0.1477, allocations: 24 kB / 0.9283 GB, free: 9.359 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004337/0.1482, allocations: 244.3 kB / 0.9285 GB, free: 9.121 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003846/0.1486, allocations: 422.9 kB / 0.9289 GB, free: 8.707 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004669/0.1532, allocations: 2.148 MB / 0.931 GB, free: 6.551 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0254/0.1786, allocations: 28.16 MB / 0.9585 GB, free: 9.641 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/0.1807, allocations: 1.423 MB / 0.9599 GB, free: 8.207 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/0.1819, allocations: 0.9332 MB / 0.9608 GB, free: 7.27 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.031e-05/0.182, allocations: 37.98 kB / 0.9608 GB, free: 7.234 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.615e-05/0.182, allocations: 63.39 kB / 0.9609 GB, free: 7.16 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=209): time 4.167e-06/0.182, allocations: 0 / 0.9609 GB, free: 7.16 MB / 0.9167 GB Notification: Performance of matching and sorting (n=212): time 0.01781/0.1999, allocations: 6.434 MB / 0.9672 GB, free: 0.7031 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.1999, allocations: 73.41 kB / 0.9673 GB, free: 0.6211 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002442/0.2024, allocations: 1.691 MB / 0.9689 GB, free: 14.89 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001483/0.2025, allocations: 61.7 kB / 0.969 GB, free: 14.83 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001593/0.2041, allocations: 2.532 MB / 0.9714 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006916/0.2048, allocations: 0.7864 MB / 0.9722 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007175/0.2055, allocations: 484 kB / 0.9727 GB, free: 11 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.2056, allocations: 484.7 kB / 0.9731 GB, free: 10.52 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.2068, allocations: 461 kB / 0.9736 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001835/0.2086, allocations: 1.504 MB / 0.975 GB, free: 8.133 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003434/0.2121, allocations: 2.151 MB / 0.9771 GB, free: 5.559 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.916e-05/0.2121, allocations: 11.94 kB / 0.9772 GB, free: 5.547 MB / 0.9323 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005971/0.218, allocations: 2.86 MB / 0.9799 GB, free: 2.66 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.936e-05/0.2181, allocations: 16 kB / 0.98 GB, free: 2.645 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-05/0.2181, allocations: 24 kB / 0.98 GB, free: 2.621 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002562/0.2207, allocations: 1.212 MB / 0.9812 GB, free: 1.398 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.2217, allocations: 455.2 kB / 0.9816 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/0.2318, allocations: 12.41 MB / 0.9937 GB, free: 4.059 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.233, allocations: 147.9 kB / 0.9939 GB, free: 3.914 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.2331, allocations: 104 kB / 0.994 GB, free: 3.812 MB / 0.948 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001023/0.2341, allocations: 323.8 kB / 0.9943 GB, free: 3.484 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000339/0.2345, allocations: 346.3 kB / 0.9946 GB, free: 3.145 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00299/0.2375, allocations: 2.249 MB / 0.9968 GB, free: 0.8594 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.2375, allocations: 24 kB / 0.9968 GB, free: 0.8359 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/0.2375, allocations: 16 kB / 0.9968 GB, free: 0.8203 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.2375, allocations: 11.95 kB / 0.9968 GB, free: 0.8086 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007435/0.2449, allocations: 6.178 MB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.2449, allocations: 4 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005075/0.2455, allocations: 240.2 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002124/0.2476, allocations: 1.052 MB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.525e-05/0.2477, allocations: 36 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/0.2577, allocations: 12.35 MB / 1.016 GB, free: 12.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.2577, allocations: 11.94 kB / 1.016 GB, free: 12.29 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003146/0.2609, allocations: 2.537 MB / 1.019 GB, free: 9.641 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000683/0.2615, allocations: 0.5294 MB / 1.019 GB, free: 9.109 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.2617, allocations: 40 kB / 1.019 GB, free: 9.07 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006161/0.2624, allocations: 119.8 kB / 1.019 GB, free: 8.953 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003118/0.2627, allocations: 185.5 kB / 1.02 GB, free: 8.77 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.966e-05/0.2628, allocations: 60 kB / 1.02 GB, free: 8.711 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0008544/0.2636, allocations: 0.9535 MB / 1.021 GB, free: 7.742 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2636, allocations: 4 kB / 1.021 GB, free: 7.738 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002393/0.266, allocations: 1.145 MB / 1.022 GB, free: 6.594 MB / 0.9792 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002327/0.2662, allocations: 165.7 kB / 1.022 GB, free: 6.422 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003496/0.2697, allocations: 3.134 MB / 1.025 GB, free: 3.219 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2697, allocations: 0 / 1.025 GB, free: 3.219 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002234/0.272, allocations: 2.282 MB / 1.027 GB, free: 0.8594 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/0.2738, allocations: 0.8169 MB / 1.028 GB, free: 56 kB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009968/0.2838, allocations: 8.434 MB / 1.036 GB, free: 7.473 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.285, allocations: 1.408 MB / 1.038 GB, free: 6.039 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0009673/0.286, allocations: 463.1 kB / 1.038 GB, free: 5.582 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.2862, allocations: 144.5 kB / 1.038 GB, free: 5.438 MB / 0.9948 GB Notification: Performance of SimCode: time 1.664e-06/0.2862, allocations: 0 / 1.038 GB, free: 5.438 MB / 0.9948 GB Notification: Performance of Templates: time 0.3518/0.6381, allocations: 52.53 MB / 1.089 GB, free: 264.1 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.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: 6.535845455015078]