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.001396/0.001396, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001592/0.001592, allocations: 221.5 kB / 22.26 MB, free: 5.125 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.957 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.849/2.849, allocations: 476.7 MB / 0.7707 GB, free: 4.293 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.002116/0.002116, allocations: 68.55 kB / 1.118 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3457, allocations: 169.9 MB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007046/0.3528, allocations: 5.07 MB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004663/0.3574, allocations: 2.6 MB / 1.291 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005261/0.358, allocations: 35.62 kB / 1.291 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.3593, allocations: 418.6 kB / 1.292 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.3605, allocations: 465.6 kB / 1.292 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009844/0.3615, allocations: 402.4 kB / 1.293 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001262/0.3628, allocations: 0.9333 MB / 1.293 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005443/0.3633, allocations: 318.3 kB / 1.294 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005432/0.3638, allocations: 358.6 kB / 1.294 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005768/0.3644, allocations: 370.4 kB / 1.294 GB, free: 216 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.892e-05/0.3645, allocations: 40 kB / 1.295 GB, free: 176 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007362/0.3652, allocations: 411.1 kB / 1.295 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002012/0.3654, allocations: 187.4 kB / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000309/0.3657, allocations: 326.1 kB / 1.295 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.3668, allocations: 0.8909 MB / 1.296 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3668, allocations: 4 kB / 1.296 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3668, allocations: 0 / 1.296 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.3668, allocations: 0 / 1.296 GB, free: 14.37 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.001484/0.3683, allocations: 0.9012 MB / 1.297 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3684, allocations: 8.031 kB / 1.297 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.3696, allocations: 200.2 kB / 1.297 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000887/0.3705, allocations: 0.489 MB / 1.298 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.3705, allocations: 33.36 kB / 1.298 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.163e-05/0.3706, allocations: 44.38 kB / 1.298 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.3718, allocations: 0.8409 MB / 1.299 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/0.3718, allocations: 11.89 kB / 1.299 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.198e-05/0.3719, allocations: 23.98 kB / 1.299 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.643e-05/0.372, allocations: 68.95 kB / 1.299 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008845/0.3728, allocations: 0.5695 MB / 1.299 GB, free: 11 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004968/0.3778, allocations: 5.578 MB / 1.305 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007089/0.3785, allocations: 423.5 kB / 1.305 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003174/0.3788, allocations: 208.7 kB / 1.305 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.3789, allocations: 4 kB / 1.305 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.3789, allocations: 39.09 kB / 1.305 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=32): time 2.565e-06/0.3789, allocations: 0 / 1.305 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002537/0.3814, allocations: 1.144 MB / 1.307 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.3815, allocations: 55.69 kB / 1.307 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005802/0.3821, allocations: 0.4991 MB / 1.307 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.3821, allocations: 33.7 kB / 1.307 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/0.3824, allocations: 371.7 kB / 1.308 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.3825, allocations: 127 kB / 1.308 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.3827, allocations: 106.2 kB / 1.308 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.3829, allocations: 366.8 kB / 1.308 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003097/0.3832, allocations: 197.2 kB / 1.308 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000536/0.3837, allocations: 447.3 kB / 1.309 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008755/0.3846, allocations: 0.688 MB / 1.309 GB, free: 56 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3846, allocations: 4 kB / 1.309 GB, free: 52 kB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001445/0.386, allocations: 0.8138 MB / 1.31 GB, free: 15.21 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.3861, allocations: 10.34 kB / 1.31 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.3861, allocations: 8 kB / 1.31 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005337/0.3866, allocations: 156.4 kB / 1.31 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004705/0.3871, allocations: 127.7 kB / 1.31 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003661/0.3907, allocations: 4.034 MB / 1.314 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00043/0.3912, allocations: 35.97 kB / 1.314 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/0.3912, allocations: 27.94 kB / 1.314 GB, free: 10.47 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.0003115/0.3915, allocations: 225.6 kB / 1.315 GB, free: 10.24 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.759e-05/0.3916, allocations: 63.58 kB / 1.315 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.3927, allocations: 0.5892 MB / 1.315 GB, free: 9.562 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.3927, allocations: 4 kB / 1.315 GB, free: 9.559 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3927, allocations: 4 kB / 1.315 GB, free: 9.555 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3927, allocations: 4 kB / 1.315 GB, free: 9.551 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00201/0.3947, allocations: 1.242 MB / 1.317 GB, free: 8.223 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3947, allocations: 0 / 1.317 GB, free: 8.223 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.395, allocations: 55.89 kB / 1.317 GB, free: 8.168 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004507/0.3954, allocations: 144.1 kB / 1.317 GB, free: 8.012 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.3955, allocations: 11.94 kB / 1.317 GB, free: 8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003599/0.3991, allocations: 4.026 MB / 1.321 GB, free: 3.629 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.3991, allocations: 3.938 kB / 1.321 GB, free: 3.625 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.4003, allocations: 0.7124 MB / 1.321 GB, free: 2.859 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002657/0.4006, allocations: 95.53 kB / 1.321 GB, free: 2.766 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.673e-05/0.4006, allocations: 11.94 kB / 1.321 GB, free: 2.754 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.4009, allocations: 23.97 kB / 1.321 GB, free: 2.73 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.467e-05/0.401, allocations: 35.83 kB / 1.322 GB, free: 2.695 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.401, allocations: 8 kB / 1.322 GB, free: 2.688 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004027/0.4014, allocations: 338.8 kB / 1.322 GB, free: 2.359 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.4014, allocations: 0 / 1.322 GB, free: 2.359 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006644/0.4021, allocations: 148 kB / 1.322 GB, free: 2.215 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.000153/0.4022, allocations: 111.2 kB / 1.322 GB, free: 2.094 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001484/0.4037, allocations: 0.8621 MB / 1.323 GB, free: 1.188 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.4037, allocations: 0 / 1.323 GB, free: 1.188 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008466/0.4046, allocations: 0.5768 MB / 1.324 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009619/0.4055, allocations: 204.7 kB / 1.324 GB, free: 388 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.4073, allocations: 1.07 MB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/0.4078, allocations: 0.9098 MB / 1.326 GB, free: 14.32 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003179/0.4081, allocations: 121.3 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.4082, allocations: 39.38 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of SimCode: time 5.51e-07/0.4082, allocations: 4 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of Templates: time 0.01603/0.4243, allocations: 8.07 MB / 1.334 GB, free: 6.188 MB / 1.029 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/jenkins/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: 9.174286717083305]