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.001696/0.001696, allocations: 81.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.00201/0.00201, allocations: 158.9 kB / 23.01 MB, free: 4.945 MB / 14.72 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.442/1.442, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.782/2.782, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",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.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 59.91 kB / 0.9819 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.984/0.9864, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004943/0.9913, allocations: 4.662 MB / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003509/0.9948, allocations: 2.447 MB / 1.161 GB, free: 28.7 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003547/0.9952, allocations: 39.25 kB / 1.161 GB, free: 28.68 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.9962, allocations: 396.8 kB / 1.161 GB, free: 28.45 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0009468/0.9972, allocations: 471.4 kB / 1.162 GB, free: 28.18 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007801/0.998, allocations: 398 kB / 1.162 GB, free: 27.99 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0008259/0.9988, allocations: 0.9298 MB / 1.163 GB, free: 27.55 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004307/0.9992, allocations: 323 kB / 1.163 GB, free: 27.4 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004749/0.9997, allocations: 355.2 kB / 1.164 GB, free: 27.25 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004175/1, allocations: 346.6 kB / 1.164 GB, free: 27.12 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.19e-05/1, allocations: 36.69 kB / 1.164 GB, free: 27.12 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000642/1.001, allocations: 363.7 kB / 1.164 GB, free: 27 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001537/1.001, allocations: 184.6 kB / 1.165 GB, free: 26.92 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000209/1.001, allocations: 263.3 kB / 1.165 GB, free: 26.79 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007954/1.002, allocations: 0.9016 MB / 1.166 GB, free: 26.46 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.002, allocations: 4 kB / 1.166 GB, free: 26.46 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.683e-06/1.002, allocations: 4 kB / 1.166 GB, free: 26.46 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.082e-05/1.002, allocations: 0 / 1.166 GB, free: 26.46 MB / 1.076 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.00117/1.003, allocations: 0.8935 MB / 1.167 GB, free: 25.82 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/1.003, allocations: 10.5 kB / 1.167 GB, free: 25.82 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/1.004, allocations: 207.5 kB / 1.167 GB, free: 25.77 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007201/1.005, allocations: 0.4884 MB / 1.167 GB, free: 25.47 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/1.005, allocations: 35.61 kB / 1.167 GB, free: 25.45 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.799e-05/1.005, allocations: 42.81 kB / 1.167 GB, free: 25.44 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008966/1.006, allocations: 0.9743 MB / 1.168 GB, free: 24.7 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/1.006, allocations: 10.8 kB / 1.168 GB, free: 24.7 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.691e-05/1.006, allocations: 28.64 kB / 1.168 GB, free: 24.68 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.636e-05/1.006, allocations: 66.94 kB / 1.168 GB, free: 24.66 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006764/1.007, allocations: 0.5636 MB / 1.169 GB, free: 24.46 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002864/1.01, allocations: 4.641 MB / 1.173 GB, free: 20.44 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005589/1.01, allocations: 425.4 kB / 1.174 GB, free: 20.28 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/1.011, allocations: 196.1 kB / 1.174 GB, free: 20.21 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/1.011, allocations: 3.844 kB / 1.174 GB, free: 20.21 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/1.011, allocations: 39.66 kB / 1.174 GB, free: 20.17 MB / 1.076 GB Notification: Performance of pre-optimization done (n=32): time 1.934e-06/1.011, allocations: 0.8438 kB / 1.174 GB, free: 20.17 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.002653/1.013, allocations: 1.137 MB / 1.175 GB, free: 19.69 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/1.013, allocations: 58.97 kB / 1.175 GB, free: 19.62 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004228/1.014, allocations: 476.2 kB / 1.176 GB, free: 19.4 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/1.014, allocations: 34.8 kB / 1.176 GB, free: 19.36 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/1.014, allocations: 374.6 kB / 1.176 GB, free: 19.05 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.919e-05/1.014, allocations: 120.3 kB / 1.176 GB, free: 18.96 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/1.014, allocations: 116.5 kB / 1.176 GB, free: 18.89 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.881e-05/1.014, allocations: 359.8 kB / 1.177 GB, free: 18.56 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/1.015, allocations: 197.1 kB / 1.177 GB, free: 18.5 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/1.015, allocations: 449 kB / 1.177 GB, free: 18.11 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006694/1.016, allocations: 0.6948 MB / 1.178 GB, free: 17.59 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/1.016, allocations: 2.219 kB / 1.178 GB, free: 17.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001189/1.017, allocations: 0.7989 MB / 1.179 GB, free: 17.23 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/1.017, allocations: 8.25 kB / 1.179 GB, free: 17.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/1.017, allocations: 9.625 kB / 1.179 GB, free: 17.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005131/1.017, allocations: 154.2 kB / 1.179 GB, free: 17.17 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/1.018, allocations: 121.4 kB / 1.179 GB, free: 17.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/1.021, allocations: 3.975 MB / 1.183 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005416/1.021, allocations: 31.77 kB / 1.183 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.765e-05/1.021, allocations: 27.22 kB / 1.183 GB, free: 13.35 MB / 1.076 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.0003344/1.021, allocations: 212.2 kB / 1.183 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-05/1.022, allocations: 64.38 kB / 1.183 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/1.023, allocations: 0.601 MB / 1.184 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/1.023, allocations: 3.094 kB / 1.184 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/1.023, allocations: 2.719 kB / 1.184 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.023, allocations: 1.219 kB / 1.184 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/1.024, allocations: 1.116 MB / 1.185 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/1.024, allocations: 7.25 kB / 1.185 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002777/1.024, allocations: 62 kB / 1.185 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003813/1.025, allocations: 144.3 kB / 1.185 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/1.025, allocations: 6.812 kB / 1.185 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002578/1.027, allocations: 3.957 MB / 1.189 GB, free: 8.379 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.027, allocations: 6.562 kB / 1.189 GB, free: 8.375 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/1.029, allocations: 0.7032 MB / 1.19 GB, free: 7.965 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/1.029, allocations: 85.52 kB / 1.19 GB, free: 7.922 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/1.029, allocations: 13.02 kB / 1.19 GB, free: 7.914 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/1.029, allocations: 22.73 kB / 1.19 GB, free: 7.91 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.487e-05/1.029, allocations: 33.23 kB / 1.19 GB, free: 7.902 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/1.029, allocations: 16.75 kB / 1.19 GB, free: 7.895 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000367/1.03, allocations: 309.8 kB / 1.19 GB, free: 7.75 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.03, allocations: 4.094 kB / 1.19 GB, free: 7.746 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007572/1.03, allocations: 141.5 kB / 1.19 GB, free: 7.73 MB / 1.076 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.0001324/1.031, allocations: 103.3 kB / 1.19 GB, free: 7.641 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00135/1.032, allocations: 0.855 MB / 1.191 GB, free: 7.125 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/1.032, allocations: 0.75 kB / 1.191 GB, free: 7.125 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007308/1.033, allocations: 0.5783 MB / 1.192 GB, free: 6.699 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009553/1.034, allocations: 195 kB / 1.192 GB, free: 6.629 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/1.035, allocations: 1.067 MB / 1.193 GB, free: 6.016 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/1.036, allocations: 312.7 kB / 1.193 GB, free: 5.902 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000304/1.036, allocations: 114.8 kB / 1.193 GB, free: 5.879 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.229e-05/1.036, allocations: 38.16 kB / 1.193 GB, free: 5.871 MB / 1.076 GB Notification: Performance of SimCode: time 7.01e-07/1.036, allocations: 0 / 1.193 GB, free: 5.871 MB / 1.076 GB Notification: Performance of Templates: time 0.01584/1.052, allocations: 7.829 MB / 1.201 GB, free: 4.996 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.028513544006273]