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.001042/0.001042, allocations: 87.58 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.000995/0.000995, allocations: 161 kB / 23.82 MB, free: 0.75 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.9191/0.9191, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.862/1.862, allocations: 377.8 MB / 0.6236 GB, free: 8.504 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.413e-06/1.413e-06, allocations: 0.7656 kB / 0.8115 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.68e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004061/0.004087, allocations: 3.869 MB / 0.8153 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002275/0.006362, allocations: 1.413 MB / 0.8167 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003439/0.006706, allocations: 39.62 kB / 0.8167 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0006168/0.007323, allocations: 154.8 kB / 0.8169 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0006342/0.007957, allocations: 369.5 kB / 0.8172 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/0.008533, allocations: 340.8 kB / 0.8175 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0008999/0.009433, allocations: 0.9602 MB / 0.8185 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007721/0.01021, allocations: 318.4 kB / 0.8188 GB, free: 9.145 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006364/0.01084, allocations: 494.8 kB / 0.8193 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004365/0.01128, allocations: 336.2 kB / 0.8196 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.503e-05/0.01133, allocations: 39.94 kB / 0.8196 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.01155, allocations: 112.3 kB / 0.8197 GB, free: 8.184 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.01169, allocations: 191.3 kB / 0.8199 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.01186, allocations: 213.1 kB / 0.8201 GB, free: 7.789 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005673/0.01243, allocations: 0.5097 MB / 0.8206 GB, free: 7.277 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.01243, allocations: 0 / 0.8206 GB, free: 7.277 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.432e-06/0.01244, allocations: 0 / 0.8206 GB, free: 7.277 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.01245, allocations: 0.5 kB / 0.8206 GB, free: 7.277 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.0009643/0.01341, allocations: 0.9504 MB / 0.8215 GB, free: 6.293 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.01345, allocations: 12.03 kB / 0.8215 GB, free: 6.281 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006256/0.01408, allocations: 248 kB / 0.8218 GB, free: 6.039 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005576/0.01463, allocations: 0.5079 MB / 0.8223 GB, free: 5.516 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.01466, allocations: 33.36 kB / 0.8223 GB, free: 5.484 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.476e-05/0.01471, allocations: 48.36 kB / 0.8224 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000657/0.01537, allocations: 0.8534 MB / 0.8232 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.01539, allocations: 8.656 kB / 0.8232 GB, free: 4.371 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.414e-05/0.01543, allocations: 20.38 kB / 0.8232 GB, free: 4.352 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.905e-05/0.01549, allocations: 69.45 kB / 0.8233 GB, free: 4.285 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003775/0.01587, allocations: 312.7 kB / 0.8236 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003591/0.01946, allocations: 6.294 MB / 0.8297 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004106/0.01987, allocations: 277.1 kB / 0.83 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.02002, allocations: 88.17 kB / 0.8301 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.02004, allocations: 8 kB / 0.8301 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.02007, allocations: 42.38 kB / 0.8301 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=32): time 3.076e-06/0.02008, allocations: 0 / 0.8301 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33): time 0.001577/0.02165, allocations: 0.6971 MB / 0.8308 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.02169, allocations: 55.69 kB / 0.8309 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000408/0.02209, allocations: 0.5062 MB / 0.8313 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.02212, allocations: 29.7 kB / 0.8314 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.02233, allocations: 413.8 kB / 0.8318 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.625e-05/0.02242, allocations: 130.9 kB / 0.8319 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.02255, allocations: 111.9 kB / 0.832 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.02272, allocations: 0.5391 MB / 0.8325 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004203/0.02314, allocations: 81.27 kB / 0.8326 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.02346, allocations: 454.8 kB / 0.833 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005444/0.02401, allocations: 0.5871 MB / 0.8336 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.02401, allocations: 4 kB / 0.8336 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008731/0.02489, allocations: 0.6167 MB / 0.8342 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.02491, allocations: 8 kB / 0.8342 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.02492, allocations: 8 kB / 0.8342 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003699/0.02529, allocations: 126.5 kB / 0.8344 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/0.02564, allocations: 135.7 kB / 0.8345 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002976/0.02862, allocations: 5.248 MB / 0.8396 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.02889, allocations: 31.97 kB / 0.8396 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.02893, allocations: 32 kB / 0.8397 GB, free: 2.426 MB / 0.7448 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.0001843/0.02912, allocations: 204.5 kB / 0.8399 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.924e-05/0.02921, allocations: 67.62 kB / 0.8399 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006212/0.02983, allocations: 369.1 kB / 0.8403 GB, free: 1.758 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.02983, allocations: 4 kB / 0.8403 GB, free: 1.754 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.02984, allocations: 3.938 kB / 0.8403 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.02984, allocations: 3.938 kB / 0.8403 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.03094, allocations: 0.8992 MB / 0.8412 GB, free: 0.7539 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.03094, allocations: 4 kB / 0.8412 GB, free: 0.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.03112, allocations: 51.95 kB / 0.8412 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002763/0.0314, allocations: 118.5 kB / 0.8413 GB, free: 0.5625 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.03142, allocations: 8 kB / 0.8413 GB, free: 0.5547 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002704/0.03412, allocations: 5.24 MB / 0.8465 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.03412, allocations: 4 kB / 0.8465 GB, free: 10.94 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006344/0.03476, allocations: 0.5669 MB / 0.847 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.0349, allocations: 87.77 kB / 0.8471 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/0.03495, allocations: 12 kB / 0.8471 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.03513, allocations: 23.97 kB / 0.8471 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.789e-05/0.0352, allocations: 39.88 kB / 0.8472 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.03522, allocations: 8 kB / 0.8472 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002409/0.03546, allocations: 322.7 kB / 0.8475 GB, free: 9.824 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.03546, allocations: 0 / 0.8475 GB, free: 9.824 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005838/0.03605, allocations: 140 kB / 0.8476 GB, free: 9.688 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.0001373/0.03618, allocations: 111.2 kB / 0.8477 GB, free: 9.57 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000943/0.03713, allocations: 0.8557 MB / 0.8486 GB, free: 8.652 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.03713, allocations: 0 / 0.8486 GB, free: 8.652 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004821/0.03761, allocations: 0.6578 MB / 0.8492 GB, free: 7.93 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007584/0.03837, allocations: 198.1 kB / 0.8494 GB, free: 7.742 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.03982, allocations: 0.9821 MB / 0.8504 GB, free: 6.695 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.03994, allocations: 158 kB / 0.8505 GB, free: 6.52 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002374/0.04017, allocations: 97.08 kB / 0.8506 GB, free: 6.426 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.938e-05/0.04025, allocations: 36.5 kB / 0.8506 GB, free: 6.391 MB / 0.7605 GB Notification: Performance of SimCode: time 9.42e-07/0.04025, allocations: 4 kB / 0.8506 GB, free: 6.387 MB / 0.7605 GB Notification: Performance of Templates: time 0.01315/0.0534, allocations: 8.29 MB / 0.8587 GB, free: 14.33 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.140420864801854]