Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001391/0.001391, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001176/0.001176, allocations: 177 kB / 23.36 MB, free: 1.133 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.9391/0.9391, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.305/2.305, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.577e-05, allocations: 8.703 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.003452/0.003467, allocations: 3.785 MB / 0.8423 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002139/0.005606, allocations: 1.446 MB / 0.8437 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002186/0.005825, allocations: 35.62 kB / 0.8437 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004612/0.006286, allocations: 170.7 kB / 0.8439 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000498/0.006784, allocations: 353.7 kB / 0.8442 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004747/0.007258, allocations: 339.3 kB / 0.8445 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0007178/0.007976, allocations: 0.9602 MB / 0.8455 GB, free: 7.113 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003569/0.008333, allocations: 342.4 kB / 0.8458 GB, free: 6.773 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004889/0.008822, allocations: 0.4908 MB / 0.8463 GB, free: 6.281 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003432/0.009165, allocations: 315.1 kB / 0.8466 GB, free: 5.973 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.408e-05/0.009209, allocations: 40 kB / 0.8466 GB, free: 5.934 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.009359, allocations: 107.8 kB / 0.8467 GB, free: 5.828 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.00949, allocations: 191.3 kB / 0.8469 GB, free: 5.641 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.00964, allocations: 211.4 kB / 0.8471 GB, free: 5.434 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.01005, allocations: 0.5059 MB / 0.8476 GB, free: 4.926 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.01005, allocations: 0 / 0.8476 GB, free: 4.926 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.71e-07/0.01005, allocations: 0 / 0.8476 GB, free: 4.926 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.01005, allocations: 4 kB / 0.8476 GB, free: 4.922 MB / 0.8073 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.0007356/0.01079, allocations: 0.8178 MB / 0.8484 GB, free: 4.078 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.01082, allocations: 12.62 kB / 0.8484 GB, free: 4.066 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004999/0.01132, allocations: 192.5 kB / 0.8486 GB, free: 3.879 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004946/0.01181, allocations: 495 kB / 0.8491 GB, free: 3.367 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.01184, allocations: 33.36 kB / 0.8491 GB, free: 3.336 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.01189, allocations: 48.33 kB / 0.8492 GB, free: 3.289 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004759/0.01236, allocations: 0.7272 MB / 0.8499 GB, free: 2.398 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.01238, allocations: 12.06 kB / 0.8499 GB, free: 2.387 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.01241, allocations: 24.36 kB / 0.8499 GB, free: 2.363 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.459e-05/0.01248, allocations: 68.89 kB / 0.85 GB, free: 2.293 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002209/0.0127, allocations: 230.3 kB / 0.8502 GB, free: 2.07 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/0.01471, allocations: 4.17 MB / 0.8543 GB, free: 13.73 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.01495, allocations: 281.7 kB / 0.8545 GB, free: 13.44 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.679e-05/0.01503, allocations: 76.73 kB / 0.8546 GB, free: 13.36 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.01504, allocations: 4 kB / 0.8546 GB, free: 13.36 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.01507, allocations: 38.56 kB / 0.8546 GB, free: 13.31 MB / 0.823 GB Notification: Performance of pre-optimization done (n=32): time 1.523e-06/0.01507, allocations: 0 / 0.8546 GB, free: 13.31 MB / 0.823 GB Notification: Performance of matching and sorting (n=33): time 0.0008299/0.0159, allocations: 0.4922 MB / 0.8551 GB, free: 12.79 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.01592, allocations: 55.69 kB / 0.8552 GB, free: 12.73 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.01616, allocations: 458.9 kB / 0.8556 GB, free: 12.27 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.01618, allocations: 33.7 kB / 0.8556 GB, free: 12.23 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.0163, allocations: 325.2 kB / 0.8559 GB, free: 11.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.597e-05/0.01636, allocations: 122.9 kB / 0.8561 GB, free: 11.78 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.813e-05/0.01645, allocations: 106.2 kB / 0.8562 GB, free: 11.67 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.255e-05/0.01654, allocations: 374.6 kB / 0.8565 GB, free: 11.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.502e-05/0.01661, allocations: 61.28 kB / 0.8566 GB, free: 11.24 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.01679, allocations: 311.1 kB / 0.8569 GB, free: 10.82 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.01709, allocations: 455 kB / 0.8573 GB, free: 10.25 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.0171, allocations: 0 / 0.8573 GB, free: 10.25 MB / 0.823 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004487/0.01755, allocations: 487.5 kB / 0.8578 GB, free: 9.75 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.01756, allocations: 8 kB / 0.8578 GB, free: 9.742 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.01757, allocations: 8 kB / 0.8578 GB, free: 9.734 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002414/0.01781, allocations: 126.8 kB / 0.8579 GB, free: 9.59 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.01802, allocations: 111.8 kB / 0.858 GB, free: 9.48 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.01972, allocations: 3.585 MB / 0.8615 GB, free: 5.609 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.01988, allocations: 20.23 kB / 0.8615 GB, free: 5.59 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.01991, allocations: 31.94 kB / 0.8616 GB, free: 5.559 MB / 0.823 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.0001145/0.02002, allocations: 164.3 kB / 0.8617 GB, free: 5.387 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.02007, allocations: 43.95 kB / 0.8618 GB, free: 5.344 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003769/0.02045, allocations: 313.3 kB / 0.8621 GB, free: 5.008 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.02045, allocations: 4 kB / 0.8621 GB, free: 5.004 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.02045, allocations: 0 / 0.8621 GB, free: 5.004 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.02046, allocations: 7.984 kB / 0.8621 GB, free: 4.996 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007705/0.02123, allocations: 0.6849 MB / 0.8627 GB, free: 4.242 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.02123, allocations: 0 / 0.8627 GB, free: 4.242 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.02134, allocations: 43.97 kB / 0.8628 GB, free: 4.199 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001981/0.02154, allocations: 122.5 kB / 0.8629 GB, free: 4.059 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.02155, allocations: 4 kB / 0.8629 GB, free: 4.055 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001546/0.0231, allocations: 3.587 MB / 0.8664 GB, free: 184 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.0231, allocations: 8.25 kB / 0.8664 GB, free: 176 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.02346, allocations: 466 kB / 0.8669 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.32e-05/0.02354, allocations: 71.59 kB / 0.8669 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.02357, allocations: 8 kB / 0.8669 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.02367, allocations: 8 kB / 0.867 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.02372, allocations: 39.86 kB / 0.867 GB, free: 15.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.02373, allocations: 8 kB / 0.867 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001083/0.02384, allocations: 184.4 kB / 0.8672 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3e-08/0.02384, allocations: 0 / 0.8672 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000389/0.02423, allocations: 144 kB / 0.8673 GB, free: 15.2 MB / 0.8386 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 8.597e-05/0.02432, allocations: 96.34 kB / 0.8674 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000729/0.02505, allocations: 0.6225 MB / 0.868 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/0.02506, allocations: 8.5 kB / 0.868 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002974/0.02536, allocations: 475.7 kB / 0.8685 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.02581, allocations: 194.6 kB / 0.8687 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009975/0.02681, allocations: 0.9802 MB / 0.8696 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.235e-05/0.0269, allocations: 158 kB / 0.8698 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001507/0.02706, allocations: 69.14 kB / 0.8698 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/0.02729, allocations: 181.2 kB / 0.87 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of SimCode: time 5.01e-07/0.02729, allocations: 0 / 0.87 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of Templates: time 0.009933/0.03722, allocations: 8.375 MB / 0.8782 GB, free: 4.074 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.261101865209639]