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.0009575/0.0009575, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.000961/0.000961, allocations: 173.3 kB / 23.5 MB, free: 1.059 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 1.156/1.156, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.231/2.231, allocations: 429.5 MB / 0.6736 GB, free: 4.066 MB / 0.6355 GB " [Timeout remaining time 177] 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.744e-06/1.744e-06, allocations: 0 / 0.8782 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.237e-05, allocations: 6.297 kB / 0.8782 GB, free: 6.543 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004712/0.004735, allocations: 4.913 MB / 0.883 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003412/0.008146, allocations: 2.52 MB / 0.8854 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003571/0.008503, allocations: 39.56 kB / 0.8855 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0009197/0.009423, allocations: 409.8 kB / 0.8859 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0007945/0.01022, allocations: 493 kB / 0.8863 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006389/0.01086, allocations: 407 kB / 0.8867 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0008519/0.01171, allocations: 0.9563 MB / 0.8877 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004241/0.01213, allocations: 326.4 kB / 0.888 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000486/0.01262, allocations: 486.7 kB / 0.8884 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000339/0.01296, allocations: 315 kB / 0.8887 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.44e-05/0.013, allocations: 36 kB / 0.8888 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003667/0.01337, allocations: 367 kB / 0.8891 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.01352, allocations: 191.4 kB / 0.8893 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.01368, allocations: 215.4 kB / 0.8895 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005988/0.01428, allocations: 0.685 MB / 0.8902 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.01428, allocations: 0 / 0.8902 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.22e-07/0.01428, allocations: 0 / 0.8902 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.01429, allocations: 0 / 0.8902 GB, free: 10.23 MB / 0.8542 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.00122/0.01551, allocations: 0.9895 MB / 0.8911 GB, free: 9.207 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.01555, allocations: 8.031 kB / 0.8911 GB, free: 9.199 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008351/0.01638, allocations: 279.9 kB / 0.8914 GB, free: 8.926 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005298/0.01691, allocations: 0.5262 MB / 0.8919 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.01694, allocations: 37.36 kB / 0.892 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.299e-05/0.01699, allocations: 44.38 kB / 0.892 GB, free: 8.293 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006299/0.01762, allocations: 0.8534 MB / 0.8928 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.01764, allocations: 8.125 kB / 0.8928 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-05/0.01769, allocations: 28.34 kB / 0.8929 GB, free: 7.199 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.249e-05/0.01776, allocations: 68.89 kB / 0.8929 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003561/0.01812, allocations: 301.2 kB / 0.8932 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00311/0.02123, allocations: 6.292 MB / 0.8994 GB, free: 312 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.02155, allocations: 278.9 kB / 0.8996 GB, free: 20 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.02168, allocations: 87.72 kB / 0.8997 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.02171, allocations: 4 kB / 0.8997 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.02173, allocations: 37.39 kB / 0.8998 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=32): time 1.843e-06/0.02173, allocations: 4 kB / 0.8998 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.001227/0.02296, allocations: 0.6985 MB / 0.9004 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.02299, allocations: 59.67 kB / 0.9005 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.02333, allocations: 0.4985 MB / 0.901 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.02335, allocations: 33.64 kB / 0.901 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.02354, allocations: 410.9 kB / 0.9014 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.299e-05/0.02361, allocations: 134.9 kB / 0.9015 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.956e-05/0.02371, allocations: 111.9 kB / 0.9016 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.02386, allocations: 0.5352 MB / 0.9022 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.02398, allocations: 93.25 kB / 0.9023 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002839/0.02427, allocations: 450.8 kB / 0.9027 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004505/0.02472, allocations: 0.5785 MB / 0.9033 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.02472, allocations: 3.938 kB / 0.9033 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006637/0.02538, allocations: 0.6201 MB / 0.9039 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.0254, allocations: 8 kB / 0.9039 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.02541, allocations: 8 kB / 0.9039 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000323/0.02574, allocations: 131 kB / 0.904 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.02599, allocations: 123.8 kB / 0.9041 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/0.02868, allocations: 5.26 MB / 0.9093 GB, free: 5.324 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.02885, allocations: 35.97 kB / 0.9093 GB, free: 5.289 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.02887, allocations: 24 kB / 0.9093 GB, free: 5.266 MB / 0.8698 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.000139/0.02901, allocations: 196.3 kB / 0.9095 GB, free: 5.062 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.409e-05/0.02908, allocations: 71.66 kB / 0.9096 GB, free: 4.992 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004672/0.02954, allocations: 381 kB / 0.9099 GB, free: 4.59 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.02955, allocations: 8.031 kB / 0.9099 GB, free: 4.582 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.02955, allocations: 3.938 kB / 0.9099 GB, free: 4.578 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.02956, allocations: 3.984 kB / 0.91 GB, free: 4.574 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008642/0.03042, allocations: 0.8887 MB / 0.9108 GB, free: 3.594 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.03043, allocations: 4 kB / 0.9108 GB, free: 3.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.03055, allocations: 51.89 kB / 0.9109 GB, free: 3.539 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002272/0.03078, allocations: 122.6 kB / 0.911 GB, free: 3.398 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.0308, allocations: 8 kB / 0.911 GB, free: 3.391 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002377/0.03317, allocations: 5.237 MB / 0.9161 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.03318, allocations: 4 kB / 0.9161 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004988/0.03368, allocations: 0.5672 MB / 0.9167 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-05/0.03378, allocations: 87.59 kB / 0.9168 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.03381, allocations: 15.92 kB / 0.9168 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.03393, allocations: 19.97 kB / 0.9168 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.03399, allocations: 39.83 kB / 0.9168 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.034, allocations: 8 kB / 0.9168 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001877/0.03419, allocations: 318.8 kB / 0.9171 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.61e-07/0.03419, allocations: 4.062 kB / 0.9171 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000384/0.03457, allocations: 140 kB / 0.9173 GB, free: 12.53 MB / 0.8855 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.0001189/0.03469, allocations: 107.2 kB / 0.9174 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000774/0.03546, allocations: 0.8432 MB / 0.9182 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.03547, allocations: 0 / 0.9182 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007376/0.0362, allocations: 0.6609 MB / 0.9188 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005999/0.0368, allocations: 196.2 kB / 0.919 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.03815, allocations: 0.984 MB / 0.92 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.03825, allocations: 154 kB / 0.9201 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001921/0.03844, allocations: 97.03 kB / 0.9202 GB, free: 9.281 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.39e-05/0.03852, allocations: 40.5 kB / 0.9203 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of SimCode: time 2.054e-06/0.03852, allocations: 0 / 0.9203 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of Templates: time 0.009634/0.04815, allocations: 7.876 MB / 0.928 GB, free: 1.566 MB / 0.8855 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.988861030898988]