Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.001673/0.001673, 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.002392/0.002392, allocations: 217.1 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.763/2.763, allocations: 476.8 MB / 0.7714 GB, free: 4.285 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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [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.002044/0.002044, allocations: 69.12 kB / 1.119 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3861, allocations: 169.9 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.007581/0.3937, allocations: 4.454 MB / 1.289 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005136/0.3989, allocations: 2.478 MB / 1.291 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003682/0.3992, allocations: 27.75 kB / 1.291 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001504/0.4007, allocations: 394.2 kB / 1.292 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.4018, allocations: 386.2 kB / 1.292 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.4029, allocations: 330.5 kB / 1.292 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001331/0.4042, allocations: 0.683 MB / 1.293 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005361/0.4047, allocations: 226.1 kB / 1.293 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005487/0.4053, allocations: 274.9 kB / 1.294 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005365/0.4058, allocations: 286.8 kB / 1.294 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.4059, allocations: 28 kB / 1.294 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.4069, allocations: 435 kB / 1.294 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002144/0.4072, allocations: 147.5 kB / 1.294 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002987/0.4075, allocations: 238.7 kB / 1.295 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.4086, allocations: 0.7393 MB / 1.295 GB, free: 152 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4086, allocations: 0 / 1.295 GB, free: 152 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.495e-06/0.4086, allocations: 0 / 1.295 GB, free: 152 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.4086, allocations: 4 kB / 1.295 GB, free: 148 kB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001504/0.4101, allocations: 0.7226 MB / 1.296 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/0.4102, allocations: 12.03 kB / 1.296 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001429/0.4116, allocations: 184.4 kB / 1.296 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007452/0.4124, allocations: 377.5 kB / 1.297 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.786e-05/0.4124, allocations: 33.36 kB / 1.297 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.648e-05/0.4125, allocations: 32.36 kB / 1.297 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.4136, allocations: 0.651 MB / 1.297 GB, free: 14 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.4136, allocations: 0 / 1.297 GB, free: 14 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.371e-05/0.4136, allocations: 16 kB / 1.297 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-05/0.4137, allocations: 63.83 kB / 1.297 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008662/0.4146, allocations: 497.8 kB / 1.298 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0039/0.4185, allocations: 3.756 MB / 1.302 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.4203, allocations: 0.6049 MB / 1.302 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/0.4205, allocations: 170.4 kB / 1.302 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.4206, allocations: 4 kB / 1.302 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.4206, allocations: 34.56 kB / 1.302 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 1.714e-06/0.4206, allocations: 0 / 1.302 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.00229/0.4229, allocations: 1.065 MB / 1.303 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/0.423, allocations: 106.8 kB / 1.304 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004663/0.4234, allocations: 409.8 kB / 1.304 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.4235, allocations: 29.7 kB / 1.304 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.4237, allocations: 288.1 kB / 1.304 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.4238, allocations: 123 kB / 1.304 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.4239, allocations: 98.3 kB / 1.304 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002506/0.4242, allocations: 358.8 kB / 1.305 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.4245, allocations: 173.2 kB / 1.305 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004516/0.4249, allocations: 388.4 kB / 1.305 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000788/0.4257, allocations: 0.5874 MB / 1.306 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.4257, allocations: 7.938 kB / 1.306 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001168/0.4269, allocations: 0.6751 MB / 1.307 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.4269, allocations: 8 kB / 1.307 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.4269, allocations: 8 kB / 1.307 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003738/0.4273, allocations: 102.8 kB / 1.307 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000481/0.4278, allocations: 115.8 kB / 1.307 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00392/0.4317, allocations: 4.038 MB / 1.311 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.432, allocations: 27.97 kB / 1.311 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.08e-05/0.4321, allocations: 28 kB / 1.311 GB, free: 15.35 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.0003125/0.4324, allocations: 209.6 kB / 1.311 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.4325, allocations: 47.72 kB / 1.311 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.4336, allocations: 0.5069 MB / 1.311 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.4336, allocations: 4 kB / 1.311 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.4336, allocations: 7.984 kB / 1.312 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4336, allocations: 3.938 kB / 1.312 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.4355, allocations: 1.251 MB / 1.313 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.4355, allocations: 4.062 kB / 1.313 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.4358, allocations: 63.89 kB / 1.313 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002679/0.436, allocations: 90.5 kB / 1.313 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.4361, allocations: 8 kB / 1.313 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003479/0.4396, allocations: 4.037 MB / 1.317 GB, free: 8.652 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.4396, allocations: 4 kB / 1.317 GB, free: 8.648 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009737/0.4405, allocations: 0.7759 MB / 1.318 GB, free: 7.816 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/0.4407, allocations: 83.62 kB / 1.318 GB, free: 7.734 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.148e-05/0.4408, allocations: 8 kB / 1.318 GB, free: 7.727 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/0.4411, allocations: 27.97 kB / 1.318 GB, free: 7.699 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.049e-05/0.4412, allocations: 39.83 kB / 1.318 GB, free: 7.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.4412, allocations: 8 kB / 1.318 GB, free: 7.652 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003218/0.4415, allocations: 283.1 kB / 1.318 GB, free: 7.383 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4415, allocations: 0 / 1.318 GB, free: 7.383 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007158/0.4422, allocations: 120 kB / 1.318 GB, free: 7.266 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.0001643/0.4424, allocations: 119.1 kB / 1.318 GB, free: 7.137 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001332/0.4437, allocations: 0.7747 MB / 1.319 GB, free: 6.324 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.4437, allocations: 4 kB / 1.319 GB, free: 6.32 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000773/0.4445, allocations: 0.5358 MB / 1.32 GB, free: 5.746 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009056/0.4454, allocations: 144.5 kB / 1.32 GB, free: 5.613 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.4471, allocations: 0.9538 MB / 1.321 GB, free: 4.59 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005532/0.4476, allocations: 0.8702 MB / 1.321 GB, free: 3.695 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.4477, allocations: 43.38 kB / 1.321 GB, free: 3.652 MB / 1.014 GB Notification: Performance of SimCode: time 3.2e-07/0.4477, allocations: 0 / 1.321 GB, free: 3.652 MB / 1.014 GB Notification: Performance of Templates: time 0.01533/0.4631, allocations: 11.17 MB / 1.332 GB, free: 8.504 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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: 15.783059294975828]