Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001339/0.001339, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001547/0.001547, allocations: 217.9 kB / 23.01 MB, free: 4.609 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.752/2.752, allocations: 476.7 MB / 0.7714 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.00208/0.00208, allocations: 65.27 kB / 1.119 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3316, allocations: 170 MB / 1.285 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006955/0.3386, allocations: 5.058 MB / 1.29 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004646/0.3432, allocations: 2.604 MB / 1.292 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004296/0.3437, allocations: 35.62 kB / 1.292 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.3449, allocations: 409.9 kB / 1.293 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.346, allocations: 469.6 kB / 1.293 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000951/0.347, allocations: 411.3 kB / 1.293 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001115/0.3481, allocations: 0.9256 MB / 1.294 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005251/0.3486, allocations: 330.3 kB / 1.295 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005303/0.3491, allocations: 350.7 kB / 1.295 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000525/0.3496, allocations: 374.3 kB / 1.295 GB, free: 332 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.702e-05/0.3497, allocations: 36 kB / 1.295 GB, free: 296 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007989/0.3505, allocations: 415.1 kB / 1.296 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.3507, allocations: 187.4 kB / 1.296 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000311/0.351, allocations: 322.2 kB / 1.296 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.3521, allocations: 0.887 MB / 1.297 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3521, allocations: 0 / 1.297 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3521, allocations: 4 kB / 1.297 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.3522, allocations: 4 kB / 1.297 GB, free: 14.48 MB / 0.9981 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.001493/0.3536, allocations: 0.8973 MB / 1.298 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.3537, allocations: 8.031 kB / 1.298 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.3549, allocations: 216.2 kB / 1.298 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008542/0.3557, allocations: 492.7 kB / 1.299 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/0.3558, allocations: 33.36 kB / 1.299 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-05/0.3558, allocations: 48.36 kB / 1.299 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.357, allocations: 0.8487 MB / 1.3 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.357, allocations: 15.88 kB / 1.3 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.586e-05/0.3571, allocations: 20 kB / 1.3 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.533e-05/0.3572, allocations: 68.95 kB / 1.3 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008553/0.358, allocations: 0.5616 MB / 1.3 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004916/0.363, allocations: 5.57 MB / 1.306 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006451/0.3636, allocations: 426.2 kB / 1.306 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.3639, allocations: 200.7 kB / 1.306 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.3639, allocations: 4 kB / 1.306 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.364, allocations: 39.08 kB / 1.306 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=32): time 3.988e-06/0.364, allocations: 4 kB / 1.306 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.00248/0.3665, allocations: 1.144 MB / 1.307 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.3665, allocations: 55.69 kB / 1.307 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00056/0.3671, allocations: 0.503 MB / 1.308 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.3671, allocations: 29.7 kB / 1.308 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/0.3674, allocations: 367.7 kB / 1.308 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.3675, allocations: 130.9 kB / 1.308 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.3676, allocations: 110.2 kB / 1.309 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.3678, allocations: 366.8 kB / 1.309 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.3681, allocations: 201.2 kB / 1.309 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005198/0.3686, allocations: 447.3 kB / 1.309 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008326/0.3694, allocations: 0.6802 MB / 1.31 GB, free: 176 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.3695, allocations: 4 kB / 1.31 GB, free: 172 kB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001295/0.3707, allocations: 0.8141 MB / 1.311 GB, free: 15.33 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.3708, allocations: 12 kB / 1.311 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.3708, allocations: 8 kB / 1.311 GB, free: 15.31 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005062/0.3713, allocations: 152.2 kB / 1.311 GB, free: 15.15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/0.3717, allocations: 127.7 kB / 1.311 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003505/0.3752, allocations: 4.037 MB / 1.315 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003827/0.3756, allocations: 39.97 kB / 1.315 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.3757, allocations: 28 kB / 1.315 GB, free: 10.58 MB / 1.014 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.0002802/0.3759, allocations: 205.6 kB / 1.315 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.11e-05/0.376, allocations: 67.56 kB / 1.316 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.3771, allocations: 0.6009 MB / 1.316 GB, free: 9.676 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3771, allocations: 4 kB / 1.316 GB, free: 9.672 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.3771, allocations: 3.938 kB / 1.316 GB, free: 9.668 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3771, allocations: 3.984 kB / 1.316 GB, free: 9.664 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/0.379, allocations: 1.238 MB / 1.317 GB, free: 8.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.379, allocations: 7.938 kB / 1.317 GB, free: 8.332 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.3793, allocations: 55.89 kB / 1.317 GB, free: 8.277 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004064/0.3797, allocations: 140.4 kB / 1.318 GB, free: 8.125 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.3797, allocations: 11.94 kB / 1.318 GB, free: 8.113 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003383/0.3831, allocations: 4.03 MB / 1.321 GB, free: 3.738 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3831, allocations: 0 / 1.321 GB, free: 3.738 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.3841, allocations: 0.7203 MB / 1.322 GB, free: 2.965 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002459/0.3844, allocations: 91.53 kB / 1.322 GB, free: 2.875 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.892e-05/0.3844, allocations: 8 kB / 1.322 GB, free: 2.867 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.3847, allocations: 23.97 kB / 1.322 GB, free: 2.844 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/0.3848, allocations: 35.81 kB / 1.322 GB, free: 2.809 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.3848, allocations: 16 kB / 1.322 GB, free: 2.793 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003912/0.3852, allocations: 338.8 kB / 1.323 GB, free: 2.465 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3852, allocations: 0 / 1.323 GB, free: 2.465 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006315/0.3858, allocations: 144 kB / 1.323 GB, free: 2.324 MB / 1.014 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.0001506/0.386, allocations: 107.2 kB / 1.323 GB, free: 2.207 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001375/0.3873, allocations: 0.8627 MB / 1.324 GB, free: 1.301 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3873, allocations: 0 / 1.324 GB, free: 1.301 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007931/0.3881, allocations: 0.5723 MB / 1.324 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009428/0.3891, allocations: 210.2 kB / 1.324 GB, free: 500 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.3908, allocations: 1.106 MB / 1.326 GB, free: 15.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005719/0.3914, allocations: 0.9098 MB / 1.326 GB, free: 14.39 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.3915, allocations: 43.44 kB / 1.326 GB, free: 14.34 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3915, allocations: 0 / 1.326 GB, free: 14.34 MB / 1.029 GB Notification: Performance of Templates: time 0.02237/0.4139, allocations: 18.41 MB / 1.344 GB, free: 11.97 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.888038089993643]