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.001018/0.001018, 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.0009613/0.0009613, 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 0.9572/0.9572, 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.912/1.912, allocations: 377.8 MB / 0.6239 GB, free: 8.574 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.533e-06/1.533e-06, allocations: 0 / 0.8115 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.769e-05, allocations: 4.281 kB / 0.8115 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004915/0.004942, allocations: 4.914 MB / 0.8163 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003471/0.008413, allocations: 2.537 MB / 0.8188 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004061/0.008819, allocations: 35.62 kB / 0.8188 GB, free: 9.465 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0008964/0.009716, allocations: 421.8 kB / 0.8192 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0009028/0.01062, allocations: 485.9 kB / 0.8197 GB, free: 8.578 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000701/0.01132, allocations: 398.2 kB / 0.8201 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0009636/0.01228, allocations: 0.9486 MB / 0.821 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004903/0.01277, allocations: 332 kB / 0.8213 GB, free: 6.91 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006831/0.01346, allocations: 494.7 kB / 0.8218 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004332/0.01389, allocations: 308 kB / 0.8221 GB, free: 6.125 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.559e-05/0.01395, allocations: 40 kB / 0.8221 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005778/0.01452, allocations: 359 kB / 0.8225 GB, free: 5.734 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.0147, allocations: 197.5 kB / 0.8226 GB, free: 5.543 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.01489, allocations: 223.4 kB / 0.8229 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0008582/0.01574, allocations: 0.6695 MB / 0.8235 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.01575, allocations: 0 / 0.8235 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.303e-06/0.01575, allocations: 0 / 0.8235 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.01576, allocations: 0 / 0.8235 GB, free: 4.652 MB / 0.7292 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.001115/0.01688, allocations: 0.9884 MB / 0.8245 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.01692, allocations: 8.031 kB / 0.8245 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000969/0.01788, allocations: 289 kB / 0.8248 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.01894, allocations: 0.5121 MB / 0.8253 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.01897, allocations: 34.48 kB / 0.8253 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.809e-05/0.01902, allocations: 52.3 kB / 0.8253 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006835/0.01971, allocations: 0.8534 MB / 0.8262 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.01973, allocations: 13.11 kB / 0.8262 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.529e-05/0.01977, allocations: 20.38 kB / 0.8262 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.621e-05/0.01984, allocations: 72.89 kB / 0.8263 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003974/0.02024, allocations: 305.9 kB / 0.8266 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003239/0.02348, allocations: 6.29 MB / 0.8327 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003579/0.02384, allocations: 276.6 kB / 0.833 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.02396, allocations: 91.64 kB / 0.8331 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.02398, allocations: 4.594 kB / 0.8331 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.02401, allocations: 45.39 kB / 0.8331 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=32): time 2.124e-06/0.02401, allocations: 0 / 0.8331 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33): time 0.001313/0.02532, allocations: 0.7045 MB / 0.8338 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.02535, allocations: 51.69 kB / 0.8338 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/0.0257, allocations: 0.4946 MB / 0.8343 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.02573, allocations: 29.7 kB / 0.8344 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.02592, allocations: 419 kB / 0.8348 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.891e-05/0.026, allocations: 126.9 kB / 0.8349 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.02611, allocations: 115.9 kB / 0.835 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.02626, allocations: 0.5352 MB / 0.8355 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.02639, allocations: 89.25 kB / 0.8356 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/0.02667, allocations: 452.4 kB / 0.836 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004683/0.02714, allocations: 0.5857 MB / 0.8366 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.02714, allocations: 4 kB / 0.8366 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007115/0.02786, allocations: 0.6199 MB / 0.8372 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.02788, allocations: 13.97 kB / 0.8372 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.02789, allocations: 12 kB / 0.8372 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003151/0.0282, allocations: 127.1 kB / 0.8374 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.02847, allocations: 123.8 kB / 0.8375 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002547/0.03102, allocations: 5.26 MB / 0.8426 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.03124, allocations: 31.97 kB / 0.8426 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.03127, allocations: 28 kB / 0.8427 GB, free: 15.71 MB / 0.7605 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.0001579/0.03142, allocations: 192.4 kB / 0.8428 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.466e-05/0.03149, allocations: 75.56 kB / 0.8429 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004891/0.03198, allocations: 369.1 kB / 0.8433 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.03198, allocations: 8.031 kB / 0.8433 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.03199, allocations: 3.938 kB / 0.8433 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.03199, allocations: 11.97 kB / 0.8433 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009097/0.0329, allocations: 0.8875 MB / 0.8442 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.03291, allocations: 0 / 0.8442 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.03304, allocations: 59.89 kB / 0.8442 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000235/0.03328, allocations: 118.5 kB / 0.8443 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.03329, allocations: 8 kB / 0.8443 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002175/0.03547, allocations: 5.248 MB / 0.8495 GB, free: 8.219 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.03547, allocations: 3.938 kB / 0.8495 GB, free: 8.215 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005077/0.03598, allocations: 0.5631 MB / 0.85 GB, free: 7.582 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.03609, allocations: 91.52 kB / 0.8501 GB, free: 7.492 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.03612, allocations: 8 kB / 0.8501 GB, free: 7.484 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.03625, allocations: 23.97 kB / 0.8501 GB, free: 7.461 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/0.03631, allocations: 35.83 kB / 0.8502 GB, free: 7.426 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.03632, allocations: 12 kB / 0.8502 GB, free: 7.414 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001961/0.03652, allocations: 314.8 kB / 0.8505 GB, free: 7.109 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.03652, allocations: 4.062 kB / 0.8505 GB, free: 7.105 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004429/0.03696, allocations: 144 kB / 0.8506 GB, free: 6.965 MB / 0.7605 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.0001192/0.03708, allocations: 107.2 kB / 0.8507 GB, free: 6.852 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008007/0.03788, allocations: 0.8478 MB / 0.8516 GB, free: 5.941 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.03789, allocations: 3.938 kB / 0.8516 GB, free: 5.938 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003923/0.03828, allocations: 0.6613 MB / 0.8522 GB, free: 5.211 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006073/0.03889, allocations: 194.1 kB / 0.8524 GB, free: 5.027 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.04031, allocations: 0.9918 MB / 0.8534 GB, free: 3.969 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.602e-05/0.04041, allocations: 154 kB / 0.8535 GB, free: 3.797 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002066/0.04061, allocations: 93.09 kB / 0.8536 GB, free: 3.707 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.743e-05/0.04068, allocations: 40.5 kB / 0.8536 GB, free: 3.668 MB / 0.7605 GB Notification: Performance of SimCode: time 1.543e-06/0.04068, allocations: 0 / 0.8536 GB, free: 3.668 MB / 0.7605 GB Notification: Performance of Templates: time 0.01066/0.05134, allocations: 7.872 MB / 0.8613 GB, free: 12.02 MB / 0.7761 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.3116725699510425]