Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.0009577/0.0009577, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009113/0.0009113, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.959/0.959, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.842/1.842, allocations: 377.9 MB / 0.6236 GB, free: 8.559 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.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.8115 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.041e-05, allocations: 3.375 kB / 0.8115 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.00356/0.00358, allocations: 3.868 MB / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002217/0.005797, allocations: 1.404 MB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002571/0.006054, allocations: 40.25 kB / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005216/0.006576, allocations: 171.3 kB / 0.8169 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000518/0.007094, allocations: 353.9 kB / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.007576, allocations: 338.7 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007762/0.008352, allocations: 0.968 MB / 0.8185 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003891/0.008742, allocations: 315.7 kB / 0.8188 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005252/0.009267, allocations: 494.7 kB / 0.8192 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003389/0.009606, allocations: 309.6 kB / 0.8195 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.62e-05/0.009652, allocations: 40 kB / 0.8196 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.009826, allocations: 107.8 kB / 0.8197 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.009962, allocations: 195.4 kB / 0.8199 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.01012, allocations: 219.4 kB / 0.8201 GB, free: 8.988 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004354/0.01055, allocations: 0.5098 MB / 0.8206 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.01056, allocations: 4.516 kB / 0.8206 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.91e-07/0.01056, allocations: 8.656 kB / 0.8206 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.01057, allocations: 0 / 0.8206 GB, free: 8.465 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0008645/0.01143, allocations: 0.9498 MB / 0.8215 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.01147, allocations: 8.969 kB / 0.8215 GB, free: 7.473 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000742/0.01221, allocations: 285.2 kB / 0.8218 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005245/0.01273, allocations: 0.5156 MB / 0.8223 GB, free: 6.664 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.01276, allocations: 37.36 kB / 0.8223 GB, free: 6.629 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-05/0.01281, allocations: 48.98 kB / 0.8224 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008398/0.01365, allocations: 0.8534 MB / 0.8232 GB, free: 5.523 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.01367, allocations: 9.969 kB / 0.8232 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.442e-05/0.0137, allocations: 24.36 kB / 0.8232 GB, free: 5.492 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.29e-05/0.01376, allocations: 68.89 kB / 0.8233 GB, free: 5.422 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003409/0.01411, allocations: 304.9 kB / 0.8236 GB, free: 5.129 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002719/0.01682, allocations: 6.29 MB / 0.8297 GB, free: 14.6 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.01712, allocations: 286.4 kB / 0.83 GB, free: 14.31 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.01723, allocations: 87.59 kB / 0.8301 GB, free: 14.22 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.01726, allocations: 9.031 kB / 0.8301 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.01728, allocations: 33.39 kB / 0.8301 GB, free: 14.17 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=32): time 1.723e-06/0.01728, allocations: 3.031 kB / 0.8301 GB, free: 14.17 MB / 0.7917 GB Notification: Performance of matching and sorting (n=33): time 0.001196/0.01847, allocations: 0.6979 MB / 0.8308 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.0185, allocations: 56.28 kB / 0.8309 GB, free: 13.38 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/0.01884, allocations: 0.5023 MB / 0.8314 GB, free: 12.86 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.01885, allocations: 30.83 kB / 0.8314 GB, free: 12.83 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.01905, allocations: 419 kB / 0.8318 GB, free: 12.41 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 6.959e-05/0.01912, allocations: 123 kB / 0.8319 GB, free: 12.29 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.01922, allocations: 112.4 kB / 0.832 GB, free: 12.17 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.01939, allocations: 0.5391 MB / 0.8326 GB, free: 11.62 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.01951, allocations: 93.25 kB / 0.8326 GB, free: 11.53 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002997/0.01981, allocations: 454.8 kB / 0.8331 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/0.02028, allocations: 0.5857 MB / 0.8336 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.02029, allocations: 4 kB / 0.8337 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000657/0.02094, allocations: 0.6167 MB / 0.8343 GB, free: 9.531 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.02096, allocations: 8 kB / 0.8343 GB, free: 9.523 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.02097, allocations: 12.12 kB / 0.8343 GB, free: 9.512 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002876/0.02126, allocations: 122.3 kB / 0.8344 GB, free: 9.371 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.0215, allocations: 127.7 kB / 0.8345 GB, free: 9.246 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/0.02378, allocations: 5.245 MB / 0.8396 GB, free: 3.637 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.02395, allocations: 35.97 kB / 0.8397 GB, free: 3.602 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.02398, allocations: 32 kB / 0.8397 GB, free: 3.57 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001271/0.02411, allocations: 200.4 kB / 0.8399 GB, free: 3.363 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.991e-05/0.02417, allocations: 71.62 kB / 0.84 GB, free: 3.293 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004535/0.02462, allocations: 373.1 kB / 0.8403 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.02462, allocations: 4 kB / 0.8403 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.02462, allocations: 3.938 kB / 0.8403 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.02463, allocations: 0 / 0.8403 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000854/0.02548, allocations: 0.9009 MB / 0.8412 GB, free: 1.902 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.02549, allocations: 4.219 kB / 0.8412 GB, free: 1.898 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.02562, allocations: 55.95 kB / 0.8413 GB, free: 1.844 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002143/0.02583, allocations: 118.3 kB / 0.8414 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.02585, allocations: 8 kB / 0.8414 GB, free: 1.699 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002357/0.02821, allocations: 5.244 MB / 0.8465 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.02821, allocations: 4 kB / 0.8465 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004776/0.02869, allocations: 0.5658 MB / 0.8471 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.02879, allocations: 83.62 kB / 0.8471 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.02882, allocations: 11.95 kB / 0.8471 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.02894, allocations: 23.97 kB / 0.8472 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.02899, allocations: 40 kB / 0.8472 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.029, allocations: 8 kB / 0.8472 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001798/0.02918, allocations: 314.8 kB / 0.8475 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02918, allocations: 0 / 0.8475 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003673/0.02955, allocations: 144 kB / 0.8477 GB, free: 10.84 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000109/0.02966, allocations: 111.2 kB / 0.8478 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0007634/0.03042, allocations: 0.8481 MB / 0.8486 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.03042, allocations: 4 kB / 0.8486 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004227/0.03085, allocations: 0.6565 MB / 0.8492 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005987/0.03144, allocations: 206 kB / 0.8494 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.0329, allocations: 0.984 MB / 0.8504 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.05e-05/0.03299, allocations: 150 kB / 0.8505 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001685/0.03316, allocations: 105 kB / 0.8506 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.121e-05/0.03323, allocations: 36.5 kB / 0.8507 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of SimCode: time 7.71e-07/0.03323, allocations: 0 / 0.8507 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of Templates: time 0.00995/0.04318, allocations: 7.859 MB / 0.8583 GB, free: 15.9 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.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.354121326003224]