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.002095/0.002095, allocations: 104.3 kB / 16.45 MB, free: 6.449 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.002532/0.002532, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.571/1.571, allocations: 230.6 MB / 252.8 MB, free: 9.137 MB / 206.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 3.45/3.45, allocations: 0.49 GB / 0.7915 GB, free: 33.45 MB / 0.6231 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.002175/0.002175, allocations: 70.25 kB / 1.149 GB, free: 26.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3373, allocations: 176.1 MB / 1.321 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.00842/0.3457, allocations: 4.979 MB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005055/0.3508, allocations: 2.549 MB / 1.329 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004981/0.3513, allocations: 39.56 kB / 1.329 GB, free: 11.26 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.3525, allocations: 401.9 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001173/0.3537, allocations: 469.6 kB / 1.329 GB, free: 10.4 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009974/0.3547, allocations: 406.4 kB / 1.33 GB, free: 10.01 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001263/0.356, allocations: 0.9212 MB / 1.331 GB, free: 9.082 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005199/0.3565, allocations: 294.5 kB / 1.331 GB, free: 8.785 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005458/0.357, allocations: 362.6 kB / 1.331 GB, free: 8.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005097/0.3576, allocations: 370.4 kB / 1.332 GB, free: 8.066 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.65e-05/0.3576, allocations: 36 kB / 1.332 GB, free: 8.031 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008421/0.3585, allocations: 411.1 kB / 1.332 GB, free: 7.629 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002383/0.3587, allocations: 183.4 kB / 1.332 GB, free: 7.449 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000349/0.359, allocations: 326.2 kB / 1.333 GB, free: 7.129 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.3602, allocations: 0.8948 MB / 1.334 GB, free: 6.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3602, allocations: 0 / 1.334 GB, free: 6.23 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3602, allocations: 4 kB / 1.334 GB, free: 6.227 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.3602, allocations: 0 / 1.334 GB, free: 6.227 MB / 1.029 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.001527/0.3618, allocations: 0.9687 MB / 1.334 GB, free: 5.207 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3618, allocations: 16.03 kB / 1.334 GB, free: 5.191 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/0.3632, allocations: 204.2 kB / 1.335 GB, free: 4.992 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009191/0.3641, allocations: 0.5495 MB / 1.335 GB, free: 4.406 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/0.3641, allocations: 33.38 kB / 1.335 GB, free: 4.375 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.009e-05/0.3642, allocations: 44.36 kB / 1.335 GB, free: 4.332 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.3655, allocations: 0.8448 MB / 1.336 GB, free: 3.355 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/0.3655, allocations: 15.89 kB / 1.336 GB, free: 3.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.308e-05/0.3656, allocations: 27.98 kB / 1.336 GB, free: 3.312 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.8e-05/0.3657, allocations: 60.95 kB / 1.336 GB, free: 3.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009305/0.3666, allocations: 0.5695 MB / 1.337 GB, free: 2.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005256/0.3718, allocations: 5.643 MB / 1.342 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006945/0.3725, allocations: 434.2 kB / 1.343 GB, free: 12.21 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/0.3729, allocations: 204.7 kB / 1.343 GB, free: 12 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.3729, allocations: 4 kB / 1.343 GB, free: 12 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.3729, allocations: 34.56 kB / 1.343 GB, free: 11.96 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 1.954e-06/0.3729, allocations: 0 / 1.343 GB, free: 11.96 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.0029/0.3758, allocations: 1.518 MB / 1.344 GB, free: 10.32 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.3759, allocations: 55.69 kB / 1.344 GB, free: 10.26 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005922/0.3765, allocations: 0.4913 MB / 1.345 GB, free: 9.758 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.3765, allocations: 29.7 kB / 1.345 GB, free: 9.723 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002766/0.3768, allocations: 367.8 kB / 1.345 GB, free: 9.359 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.3769, allocations: 130.9 kB / 1.345 GB, free: 9.23 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.3771, allocations: 118.2 kB / 1.346 GB, free: 9.109 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.3773, allocations: 366.8 kB / 1.346 GB, free: 8.742 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/0.3776, allocations: 193.2 kB / 1.346 GB, free: 8.555 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000554/0.3781, allocations: 455.3 kB / 1.347 GB, free: 7.992 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009451/0.3791, allocations: 0.6837 MB / 1.347 GB, free: 7.191 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.3791, allocations: 4 kB / 1.347 GB, free: 7.188 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001405/0.3805, allocations: 0.8091 MB / 1.348 GB, free: 6.355 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.3805, allocations: 11.98 kB / 1.348 GB, free: 6.344 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.3805, allocations: 8.906 kB / 1.348 GB, free: 6.336 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005263/0.381, allocations: 156.1 kB / 1.348 GB, free: 6.168 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004735/0.3815, allocations: 119.8 kB / 1.348 GB, free: 6.051 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004124/0.3856, allocations: 4.34 MB / 1.352 GB, free: 1.297 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004537/0.3861, allocations: 44.12 kB / 1.353 GB, free: 1.254 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.479e-05/0.3862, allocations: 28 kB / 1.353 GB, free: 1.227 MB / 1.045 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.0003227/0.3865, allocations: 221.5 kB / 1.353 GB, free: 1 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.3866, allocations: 59.62 kB / 1.353 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.3878, allocations: 0.597 MB / 1.353 GB, free: 324 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3878, allocations: 0 / 1.353 GB, free: 324 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.3878, allocations: 7.984 kB / 1.353 GB, free: 316 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3878, allocations: 0 / 1.353 GB, free: 316 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/0.3899, allocations: 1.266 MB / 1.355 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.3899, allocations: 0 / 1.355 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.3902, allocations: 59.89 kB / 1.355 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004485/0.3906, allocations: 140.3 kB / 1.355 GB, free: 14.74 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.3907, allocations: 15.94 kB / 1.355 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003885/0.3946, allocations: 4.336 MB / 1.359 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3946, allocations: 3.938 kB / 1.359 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.3957, allocations: 0.7086 MB / 1.36 GB, free: 9.203 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002734/0.396, allocations: 172.6 kB / 1.36 GB, free: 9.016 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.828e-05/0.396, allocations: 8 kB / 1.36 GB, free: 9.008 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/0.3963, allocations: 27.91 kB / 1.36 GB, free: 8.98 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.598e-05/0.3964, allocations: 31.89 kB / 1.36 GB, free: 8.949 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.3964, allocations: 12 kB / 1.36 GB, free: 8.938 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000467/0.3969, allocations: 342.8 kB / 1.36 GB, free: 8.605 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3969, allocations: 0 / 1.36 GB, free: 8.605 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007052/0.3976, allocations: 140 kB / 1.36 GB, free: 8.469 MB / 1.061 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.0001649/0.3978, allocations: 111.5 kB / 1.361 GB, free: 8.348 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00162/0.3994, allocations: 1.013 MB / 1.362 GB, free: 7.254 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3994, allocations: 0 / 1.362 GB, free: 7.254 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0009457/0.4003, allocations: 0.7185 MB / 1.362 GB, free: 6.453 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.4014, allocations: 213.2 kB / 1.362 GB, free: 6.254 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.4033, allocations: 1.069 MB / 1.364 GB, free: 5.129 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006252/0.4039, allocations: 0.9098 MB / 1.364 GB, free: 4.191 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003403/0.4042, allocations: 121.3 kB / 1.365 GB, free: 4.07 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.4043, allocations: 39.44 kB / 1.365 GB, free: 4.031 MB / 1.061 GB Notification: Performance of SimCode: time 5.61e-07/0.4043, allocations: 4 kB / 1.365 GB, free: 4.027 MB / 1.061 GB Notification: Performance of Templates: time 0.01672/0.421, allocations: 7.795 MB / 1.372 GB, free: 12.34 MB / 1.076 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=400 -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/jenkins/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.490136770997196]