Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001239/0.001239, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001346/0.001346, allocations: 173 kB / 23.49 MB, free: 1.062 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 1.161/1.161, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.409/2.409, allocations: 429.5 MB / 0.6736 GB, free: 4.043 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.8782 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.336e-05/3.559e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02895/0.02899, allocations: 33.7 MB / 0.9111 GB, free: 4.809 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.02115/0.05013, allocations: 15.06 MB / 0.9258 GB, free: 5.723 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004661/0.0548, allocations: 210.4 kB / 0.926 GB, free: 5.516 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.007777/0.06257, allocations: 3.772 MB / 0.9297 GB, free: 1.727 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.01003/0.07261, allocations: 3.071 MB / 0.9327 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.007158/0.07976, allocations: 2.365 MB / 0.935 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0127/0.09247, allocations: 9.008 MB / 0.9438 GB, free: 3.227 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01054/0.103, allocations: 5.519 MB / 0.9492 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01298/0.116, allocations: 5.723 MB / 0.9548 GB, free: 7.844 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007514/0.1235, allocations: 3.905 MB / 0.9586 GB, free: 3.93 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.002837/0.1263, allocations: 0.7148 MB / 0.9593 GB, free: 3.211 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005383/0.1317, allocations: 1.634 MB / 0.9609 GB, free: 1.574 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.005736/0.1375, allocations: 3.059 MB / 0.9639 GB, free: 14.51 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.007075/0.1445, allocations: 2.39 MB / 0.9662 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.01236/0.1569, allocations: 6.275 MB / 0.9723 GB, free: 5.82 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/0.1569, allocations: 0 / 0.9723 GB, free: 5.82 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.214e-06/0.1569, allocations: 0 / 0.9723 GB, free: 5.82 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004089/0.1573, allocations: 0 / 0.9723 GB, free: 5.82 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01267/0.17, allocations: 6.296 MB / 0.9785 GB, free: 15.45 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.17, allocations: 8.031 kB / 0.9785 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006881/0.1769, allocations: 1.795 MB / 0.9803 GB, free: 13.64 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006934/0.1838, allocations: 3.432 MB / 0.9836 GB, free: 10.13 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003364/0.1842, allocations: 370.4 kB / 0.984 GB, free: 9.766 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001751/0.1859, allocations: 0.5041 MB / 0.9845 GB, free: 9.262 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01606/0.202, allocations: 5.315 MB / 0.9896 GB, free: 3.422 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000225/0.2022, allocations: 27.77 kB / 0.9897 GB, free: 3.395 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008661/0.2031, allocations: 220 kB / 0.9899 GB, free: 3.18 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000745/0.2038, allocations: 441.6 kB / 0.9903 GB, free: 2.746 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008178/0.212, allocations: 1.899 MB / 0.9922 GB, free: 0.832 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03073/0.2427, allocations: 22.97 MB / 1.015 GB, free: 9.289 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.2444, allocations: 0.933 MB / 1.016 GB, free: 8.348 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/0.2456, allocations: 0.7908 MB / 1.016 GB, free: 7.562 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 9.425e-05/0.2457, allocations: 26 kB / 1.016 GB, free: 7.539 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.66e-05/0.2458, allocations: 59.39 kB / 1.016 GB, free: 7.469 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=171): time 4.488e-06/0.2458, allocations: 0 / 1.016 GB, free: 7.469 MB / 0.9792 GB Notification: Performance of matching and sorting (n=276): time 0.01884/0.2646, allocations: 8.994 MB / 1.025 GB, free: 14.44 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.2647, allocations: 81.58 kB / 1.025 GB, free: 14.35 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/0.2668, allocations: 1.853 MB / 1.027 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004304/0.2672, allocations: 73.7 kB / 1.027 GB, free: 12.39 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001415/0.2686, allocations: 2.412 MB / 1.029 GB, free: 9.957 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001073/0.2697, allocations: 1.007 MB / 1.03 GB, free: 8.941 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007168/0.2704, allocations: 0.517 MB / 1.031 GB, free: 8.41 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2705, allocations: 476.8 kB / 1.031 GB, free: 7.941 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.2718, allocations: 0.6655 MB / 1.032 GB, free: 7.273 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/0.2734, allocations: 1.542 MB / 1.034 GB, free: 5.398 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003106/0.2765, allocations: 2.436 MB / 1.036 GB, free: 2.602 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/0.2766, allocations: 4 kB / 1.036 GB, free: 2.598 MB / 0.9948 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.007912/0.2845, allocations: 4.238 MB / 1.04 GB, free: 14.29 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.094e-05/0.2845, allocations: 16.97 kB / 1.04 GB, free: 14.27 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/0.2845, allocations: 16 kB / 1.04 GB, free: 14.25 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007259/0.2918, allocations: 2.602 MB / 1.043 GB, free: 11.63 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.293, allocations: 399.4 kB / 1.043 GB, free: 11.24 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5633/0.8563, allocations: 20.46 MB / 1.063 GB, free: 191.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/0.8586, allocations: 159 kB / 1.063 GB, free: 191.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000246/0.8589, allocations: 112.8 kB / 1.063 GB, free: 191.1 MB / 1.01 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001594/0.8605, allocations: 318 kB / 1.064 GB, free: 190.9 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007193/0.8612, allocations: 406.2 kB / 1.064 GB, free: 190.9 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006634/0.8678, allocations: 3.874 MB / 1.068 GB, free: 190.5 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.8678, allocations: 25.84 kB / 1.068 GB, free: 190.5 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.866e-05/0.8679, allocations: 29.56 kB / 1.068 GB, free: 190.5 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.223e-05/0.8679, allocations: 12.94 kB / 1.068 GB, free: 190.5 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01348/0.8814, allocations: 7.937 MB / 1.076 GB, free: 187.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/0.8814, allocations: 13.41 kB / 1.076 GB, free: 187.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006871/0.8821, allocations: 237.3 kB / 1.076 GB, free: 187.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006818/0.8889, allocations: 2.395 MB / 1.078 GB, free: 187.6 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004617/0.8894, allocations: 48.34 kB / 1.078 GB, free: 187.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02244/0.9118, allocations: 20.37 MB / 1.098 GB, free: 173.3 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/0.9118, allocations: 6.844 kB / 1.098 GB, free: 173.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008013/0.9199, allocations: 3.917 MB / 1.102 GB, free: 171.7 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001905/0.9218, allocations: 0.6449 MB / 1.103 GB, free: 171.3 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004595/0.9222, allocations: 56.77 kB / 1.103 GB, free: 171.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.9234, allocations: 168.5 kB / 1.103 GB, free: 171.2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001143/0.9245, allocations: 274.4 kB / 1.103 GB, free: 171.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000159/0.9247, allocations: 75.94 kB / 1.103 GB, free: 171.2 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001572/0.9262, allocations: 1.071 MB / 1.104 GB, free: 170.8 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9262, allocations: 0 / 1.104 GB, free: 170.8 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005011/0.9312, allocations: 1.376 MB / 1.105 GB, free: 170.7 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004746/0.9317, allocations: 175 kB / 1.106 GB, free: 170.5 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.008067/0.9398, allocations: 4.625 MB / 1.11 GB, free: 168.3 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.465e-05/0.9398, allocations: 3.016 kB / 1.11 GB, free: 168.3 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.006027/0.9458, allocations: 3.586 MB / 1.114 GB, free: 166.3 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00495/0.9508, allocations: 1.013 MB / 1.115 GB, free: 166 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02146/0.9722, allocations: 8.867 MB / 1.123 GB, free: 161.5 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004053/0.9763, allocations: 1.422 MB / 1.125 GB, free: 161.1 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002496/0.9788, allocations: 468.2 kB / 1.125 GB, free: 161 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004474/0.9792, allocations: 144.1 kB / 1.125 GB, free: 161 MB / 1.01 GB Notification: Performance of SimCode: time 3.036e-06/0.9792, allocations: 1 kB / 1.125 GB, free: 161 MB / 1.01 GB Notification: Performance of Templates: time 0.09845/1.078, allocations: 76.64 MB / 1.2 GB, free: 104.2 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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: 8.370165862841532]