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.001312/0.001312, allocations: 73.88 kB / 20.65 MB, free: 3.84 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.00144/0.00144, allocations: 169 kB / 24.05 MB, free: 452 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.8901/0.8901, allocations: 177.1 MB / 204.5 MB, free: 5.496 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 1.995/1.995, allocations: 429.5 MB / 0.6743 GB, free: 3.863 MB / 0.6355 GB " [Timeout remaining time 178] Using package Buildings with version 14.0.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.172e-06/1.172e-06, allocations: 0 / 0.8794 GB, free: 4.867 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.6e-05, allocations: 6.25 kB / 0.8794 GB, free: 4.859 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.003588/0.003604, allocations: 3.781 MB / 0.8831 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002003/0.005608, allocations: 1.424 MB / 0.8845 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000244/0.005852, allocations: 39.62 kB / 0.8845 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004718/0.006323, allocations: 154.8 kB / 0.8847 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000493/0.006816, allocations: 361.8 kB / 0.885 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004651/0.007281, allocations: 344.9 kB / 0.8853 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.00082/0.008101, allocations: 0.9564 MB / 0.8863 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003822/0.008484, allocations: 326.4 kB / 0.8866 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005134/0.008997, allocations: 494.8 kB / 0.8871 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003779/0.009375, allocations: 335 kB / 0.8874 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.423e-05/0.009419, allocations: 36 kB / 0.8874 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.009583, allocations: 111.7 kB / 0.8875 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.009709, allocations: 195.3 kB / 0.8877 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.009856, allocations: 207.5 kB / 0.8879 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004383/0.01029, allocations: 0.5098 MB / 0.8884 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.0103, allocations: 0 / 0.8884 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.91e-07/0.0103, allocations: 3.938 kB / 0.8884 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.0103, allocations: 0 / 0.8884 GB, free: 11.64 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.0007834/0.01109, allocations: 0.9507 MB / 0.8893 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.01112, allocations: 12.03 kB / 0.8893 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005291/0.01165, allocations: 212 kB / 0.8895 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007384/0.01238, allocations: 0.5096 MB / 0.89 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.01241, allocations: 37.36 kB / 0.8901 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.982e-05/0.01246, allocations: 44.38 kB / 0.8901 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000525/0.01298, allocations: 0.8181 MB / 0.8909 GB, free: 8.785 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.013, allocations: 8.125 kB / 0.8909 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.01303, allocations: 24.36 kB / 0.8909 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.308e-05/0.01309, allocations: 72.89 kB / 0.891 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002419/0.01334, allocations: 254.2 kB / 0.8913 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00271/0.01605, allocations: 6.179 MB / 0.8973 GB, free: 2.02 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.01629, allocations: 242.9 kB / 0.8975 GB, free: 1.77 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.942e-05/0.01637, allocations: 79.64 kB / 0.8976 GB, free: 1.688 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.01639, allocations: 4 kB / 0.8976 GB, free: 1.684 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.01641, allocations: 41.33 kB / 0.8976 GB, free: 1.633 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=32): time 1.533e-06/0.01641, allocations: 0 / 0.8976 GB, free: 1.633 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33): time 0.0009014/0.01731, allocations: 0.5597 MB / 0.8982 GB, free: 1.047 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.01733, allocations: 55.69 kB / 0.8982 GB, free: 0.9805 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.01759, allocations: 0.4981 MB / 0.8987 GB, free: 476 kB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.01761, allocations: 29.7 kB / 0.8988 GB, free: 440 kB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.01778, allocations: 426.9 kB / 0.8992 GB, free: 8 kB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.845e-05/0.01786, allocations: 130.9 kB / 0.8993 GB, free: 15.88 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.335e-05/0.01795, allocations: 119.9 kB / 0.8994 GB, free: 15.75 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.01808, allocations: 0.539 MB / 0.8999 GB, free: 15.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.123e-05/0.01815, allocations: 73.25 kB / 0.9 GB, free: 15.13 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.01837, allocations: 432.3 kB / 0.9004 GB, free: 14.55 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.0187, allocations: 0.5505 MB / 0.9009 GB, free: 13.84 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.01871, allocations: 4 kB / 0.901 GB, free: 13.84 MB / 0.823 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000538/0.01924, allocations: 0.566 MB / 0.9015 GB, free: 13.24 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.01926, allocations: 12 kB / 0.9015 GB, free: 13.23 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.01927, allocations: 8 kB / 0.9015 GB, free: 13.22 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002362/0.0195, allocations: 118.4 kB / 0.9016 GB, free: 13.09 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.01972, allocations: 119.7 kB / 0.9018 GB, free: 12.97 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.02171, allocations: 5.18 MB / 0.9068 GB, free: 7.449 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.02187, allocations: 16 kB / 0.9068 GB, free: 7.434 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.02189, allocations: 24 kB / 0.9068 GB, free: 7.41 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.0001232/0.02201, allocations: 200.4 kB / 0.907 GB, free: 7.203 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.088e-05/0.02208, allocations: 71.62 kB / 0.9071 GB, free: 7.133 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000373/0.02245, allocations: 349.1 kB / 0.9074 GB, free: 6.762 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.02245, allocations: 4 kB / 0.9074 GB, free: 6.758 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.02245, allocations: 0 / 0.9074 GB, free: 6.758 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.02246, allocations: 7.969 kB / 0.9075 GB, free: 6.75 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007012/0.02316, allocations: 0.7842 MB / 0.9082 GB, free: 5.883 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.02316, allocations: 0 / 0.9082 GB, free: 5.883 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.02327, allocations: 52.12 kB / 0.9083 GB, free: 5.832 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001976/0.02347, allocations: 114.3 kB / 0.9084 GB, free: 5.699 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.02349, allocations: 8 kB / 0.9084 GB, free: 5.691 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/0.02535, allocations: 5.168 MB / 0.9134 GB, free: 184 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.02535, allocations: 3.938 kB / 0.9134 GB, free: 180 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004171/0.02577, allocations: 0.5385 MB / 0.914 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.877e-05/0.02586, allocations: 75.58 kB / 0.914 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.02589, allocations: 8 kB / 0.914 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.026, allocations: 8 kB / 0.914 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.02604, allocations: 36 kB / 0.9141 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.02605, allocations: 16 kB / 0.9141 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001322/0.02618, allocations: 294.7 kB / 0.9144 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.02618, allocations: 0 / 0.9144 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003581/0.02654, allocations: 144 kB / 0.9145 GB, free: 15 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.02663, allocations: 115.1 kB / 0.9146 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005678/0.0272, allocations: 0.8163 MB / 0.9154 GB, free: 14 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.0272, allocations: 0 / 0.9154 GB, free: 14 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003286/0.02753, allocations: 0.6451 MB / 0.9161 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005314/0.02806, allocations: 202.2 kB / 0.9162 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009749/0.02903, allocations: 0.9762 MB / 0.9172 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.605e-05/0.02912, allocations: 162 kB / 0.9174 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002864/0.02941, allocations: 73.12 kB / 0.9174 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.02964, allocations: 218.1 kB / 0.9176 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of SimCode: time 6.71e-07/0.02964, allocations: 4 kB / 0.9176 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of Templates: time 0.009733/0.03937, allocations: 8.543 MB / 0.926 GB, free: 3.266 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.143483266700059]