Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.001026/0.001026, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001115/0.001115, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9957/0.9957, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.909/1.909, allocations: 377.9 MB / 0.6236 GB, free: 8.535 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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.27e-05, allocations: 3.406 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006051/0.006074, allocations: 4.215 MB / 0.8156 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003033/0.009107, allocations: 1.569 MB / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003106/0.009417, allocations: 43.62 kB / 0.8172 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006234/0.01004, allocations: 187.6 kB / 0.8174 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004961/0.01054, allocations: 416.9 kB / 0.8178 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004575/0.01099, allocations: 383.6 kB / 0.8182 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001043/0.01204, allocations: 1.143 MB / 0.8193 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006635/0.0127, allocations: 0.5061 MB / 0.8198 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003681/0.01638, allocations: 0.6078 MB / 0.8204 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004949/0.01688, allocations: 427.8 kB / 0.8208 GB, free: 8.266 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.061e-05/0.01696, allocations: 60 kB / 0.8208 GB, free: 8.207 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002226/0.01718, allocations: 137.7 kB / 0.821 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002485/0.01743, allocations: 315.1 kB / 0.8213 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002508/0.01768, allocations: 271.3 kB / 0.8215 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006731/0.01835, allocations: 0.6694 MB / 0.8222 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.01836, allocations: 4 kB / 0.8222 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.52e-07/0.01836, allocations: 1.688 kB / 0.8222 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.01836, allocations: 0 / 0.8222 GB, free: 6.824 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.004182/0.02255, allocations: 1.065 MB / 0.8232 GB, free: 5.723 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.02258, allocations: 8.875 kB / 0.8232 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.02385, allocations: 340.5 kB / 0.8236 GB, free: 5.383 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007336/0.02458, allocations: 0.5514 MB / 0.8241 GB, free: 4.816 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.02462, allocations: 45.67 kB / 0.8241 GB, free: 4.773 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003104/0.02772, allocations: 72.34 kB / 0.8242 GB, free: 4.703 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009614/0.02868, allocations: 0.8914 MB / 0.8251 GB, free: 3.637 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.02871, allocations: 8.125 kB / 0.8251 GB, free: 3.629 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.706e-05/0.02876, allocations: 32.36 kB / 0.8251 GB, free: 3.598 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.689e-05/0.02885, allocations: 74.27 kB / 0.8252 GB, free: 3.527 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005797/0.02943, allocations: 346.1 kB / 0.8255 GB, free: 3.191 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006531/0.03596, allocations: 5.637 MB / 0.831 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004683/0.03643, allocations: 253.7 kB / 0.8313 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003471/0.0399, allocations: 249.9 kB / 0.8315 GB, free: 12.85 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.03993, allocations: 4 kB / 0.8315 GB, free: 12.85 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.03996, allocations: 45.38 kB / 0.8315 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=41): time 1.863e-06/0.03996, allocations: 4 kB / 0.8315 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of matching and sorting (n=42): time 0.002492/0.04246, allocations: 1.136 MB / 0.8327 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.04249, allocations: 59.34 kB / 0.8327 GB, free: 11.56 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003461/0.04595, allocations: 482.4 kB / 0.8332 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.04597, allocations: 33.7 kB / 0.8332 GB, free: 11.03 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.04619, allocations: 446.7 kB / 0.8336 GB, free: 10.59 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.04629, allocations: 158.6 kB / 0.8338 GB, free: 10.43 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.04643, allocations: 119.9 kB / 0.8339 GB, free: 10.31 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.04658, allocations: 0.5352 MB / 0.8344 GB, free: 9.762 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.04676, allocations: 105.2 kB / 0.8345 GB, free: 9.66 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/0.04709, allocations: 404.7 kB / 0.8349 GB, free: 9.133 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000576/0.04766, allocations: 0.5609 MB / 0.8355 GB, free: 8.441 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.04767, allocations: 0 / 0.8355 GB, free: 8.441 MB / 0.7917 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004155/0.05182, allocations: 0.726 MB / 0.8362 GB, free: 7.691 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.05185, allocations: 10.66 kB / 0.8362 GB, free: 7.684 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.05186, allocations: 8 kB / 0.8362 GB, free: 7.676 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007732/0.05263, allocations: 254.5 kB / 0.8364 GB, free: 7.41 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.05286, allocations: 103.8 kB / 0.8365 GB, free: 7.309 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007592/0.06046, allocations: 7.72 MB / 0.8441 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003242/0.0637, allocations: 27.97 kB / 0.8441 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.06373, allocations: 32 kB / 0.8441 GB, free: 15.04 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001598/0.06389, allocations: 196.3 kB / 0.8443 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-05/0.06398, allocations: 71.67 kB / 0.8444 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000934/0.06491, allocations: 0.5714 MB / 0.8449 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.06492, allocations: 4 kB / 0.8449 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.06492, allocations: 4 kB / 0.8449 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.06493, allocations: 3.938 kB / 0.8449 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/0.06645, allocations: 1.145 MB / 0.8461 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.06645, allocations: 8.188 kB / 0.8461 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003128/0.06958, allocations: 43.97 kB / 0.8461 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006507/0.07023, allocations: 242.5 kB / 0.8463 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.07026, allocations: 12 kB / 0.8464 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006996/0.07725, allocations: 7.71 MB / 0.8539 GB, free: 4.406 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.07726, allocations: 4 kB / 0.8539 GB, free: 4.402 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007214/0.07798, allocations: 0.7386 MB / 0.8546 GB, free: 3.602 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.07809, allocations: 91.56 kB / 0.8547 GB, free: 3.512 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.07812, allocations: 11.98 kB / 0.8547 GB, free: 3.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.07824, allocations: 23.98 kB / 0.8547 GB, free: 3.477 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.0783, allocations: 39.86 kB / 0.8548 GB, free: 3.438 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.07832, allocations: 16 kB / 0.8548 GB, free: 3.422 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001672/0.07849, allocations: 294.8 kB / 0.8551 GB, free: 3.137 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.07849, allocations: 4 kB / 0.8551 GB, free: 3.133 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005268/0.07902, allocations: 196 kB / 0.8553 GB, free: 2.941 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001086/0.07913, allocations: 111.2 kB / 0.8554 GB, free: 2.824 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001014/0.08014, allocations: 1.148 MB / 0.8565 GB, free: 1.605 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.08014, allocations: 0 / 0.8565 GB, free: 1.605 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0006994/0.08084, allocations: 0.9455 MB / 0.8574 GB, free: 0.5859 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005465/0.08139, allocations: 205.3 kB / 0.8576 GB, free: 400 kB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.08271, allocations: 1.176 MB / 0.8588 GB, free: 15.15 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.08284, allocations: 210.2 kB / 0.859 GB, free: 14.93 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001484/0.08299, allocations: 88.98 kB / 0.859 GB, free: 14.84 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.524e-05/0.08304, allocations: 32.5 kB / 0.8591 GB, free: 14.8 MB / 0.823 GB Notification: Performance of SimCode: time 1.062e-06/0.08305, allocations: 3.938 kB / 0.8591 GB, free: 14.8 MB / 0.823 GB Notification: Performance of Templates: time 0.012/0.09505, allocations: 10.55 MB / 0.8694 GB, free: 4.473 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_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.536461835261434]