Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001404/0.001404, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001832/0.001832, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.351/3.351, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002142/0.002142, allocations: 71.59 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3978, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.007916/0.4057, allocations: 4.147 MB / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004722/0.4104, allocations: 2.319 MB / 1.37 GB, free: 7.051 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003332/0.4108, allocations: 23.75 kB / 1.37 GB, free: 7.027 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.4121, allocations: 378.3 kB / 1.371 GB, free: 6.656 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001149/0.4132, allocations: 378.2 kB / 1.371 GB, free: 6.285 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008891/0.4141, allocations: 329 kB / 1.371 GB, free: 5.965 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008814/0.415, allocations: 0.6752 MB / 1.372 GB, free: 5.285 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004148/0.4154, allocations: 230.1 kB / 1.372 GB, free: 5.055 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000426/0.4158, allocations: 270.9 kB / 1.372 GB, free: 4.789 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004841/0.4163, allocations: 270.8 kB / 1.373 GB, free: 4.523 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.425e-05/0.4164, allocations: 32 kB / 1.373 GB, free: 4.492 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007673/0.4171, allocations: 379.1 kB / 1.373 GB, free: 4.121 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001845/0.4173, allocations: 155.4 kB / 1.373 GB, free: 3.969 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002214/0.4175, allocations: 195 kB / 1.373 GB, free: 3.777 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009636/0.4185, allocations: 0.7315 MB / 1.374 GB, free: 3.043 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4185, allocations: 3.938 kB / 1.374 GB, free: 3.039 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4185, allocations: 0 / 1.374 GB, free: 3.039 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.4185, allocations: 0 / 1.374 GB, free: 3.039 MB / 1.061 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.001208/0.4197, allocations: 0.7304 MB / 1.375 GB, free: 2.273 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.4198, allocations: 8.031 kB / 1.375 GB, free: 2.266 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/0.4211, allocations: 188.3 kB / 1.375 GB, free: 2.082 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007228/0.4218, allocations: 373.6 kB / 1.375 GB, free: 1.695 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.4218, allocations: 21.38 kB / 1.375 GB, free: 1.676 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.217e-05/0.4219, allocations: 44.34 kB / 1.375 GB, free: 1.633 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.423, allocations: 0.7302 MB / 1.376 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.423, allocations: 7.938 kB / 1.376 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.251e-05/0.423, allocations: 15.94 kB / 1.376 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-05/0.4231, allocations: 55.95 kB / 1.376 GB, free: 0.7188 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008911/0.424, allocations: 499.9 kB / 1.377 GB, free: 236 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003776/0.4278, allocations: 3.141 MB / 1.38 GB, free: 12.96 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/0.4297, allocations: 0.6129 MB / 1.38 GB, free: 12.32 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.4299, allocations: 162.5 kB / 1.38 GB, free: 12.15 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.43, allocations: 4 kB / 1.38 GB, free: 12.15 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.156e-05/0.43, allocations: 42.48 kB / 1.381 GB, free: 12.1 MB / 1.076 GB Notification: Performance of pre-optimization done (n=30): time 2.314e-06/0.43, allocations: 4 kB / 1.381 GB, free: 12.09 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.002264/0.4323, allocations: 1.057 MB / 1.382 GB, free: 11.02 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001776/0.4325, allocations: 110.8 kB / 1.382 GB, free: 10.89 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004685/0.4329, allocations: 381.4 kB / 1.382 GB, free: 10.5 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.433, allocations: 38.2 kB / 1.382 GB, free: 10.46 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/0.4332, allocations: 288 kB / 1.382 GB, free: 10.17 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.4334, allocations: 126.9 kB / 1.382 GB, free: 10.04 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.4335, allocations: 98.3 kB / 1.383 GB, free: 9.941 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0003193/0.4338, allocations: 350.8 kB / 1.383 GB, free: 9.59 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.4341, allocations: 173.2 kB / 1.383 GB, free: 9.418 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005038/0.4346, allocations: 388.1 kB / 1.383 GB, free: 8.949 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008282/0.4354, allocations: 0.5874 MB / 1.384 GB, free: 8.27 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4354, allocations: 0 / 1.384 GB, free: 8.27 MB / 1.076 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001149/0.4366, allocations: 0.6749 MB / 1.385 GB, free: 7.578 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.4366, allocations: 8 kB / 1.385 GB, free: 7.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.4366, allocations: 8 kB / 1.385 GB, free: 7.562 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003593/0.437, allocations: 91.08 kB / 1.385 GB, free: 7.465 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.4374, allocations: 123.7 kB / 1.385 GB, free: 7.344 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00434/0.4417, allocations: 3.961 MB / 1.389 GB, free: 3.074 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.4421, allocations: 27.98 kB / 1.389 GB, free: 3.047 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/0.4421, allocations: 27.98 kB / 1.389 GB, free: 3.02 MB / 1.076 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.0002752/0.4424, allocations: 195.1 kB / 1.389 GB, free: 2.82 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.4425, allocations: 55.66 kB / 1.389 GB, free: 2.766 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009215/0.4435, allocations: 0.515 MB / 1.39 GB, free: 2.238 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.4435, allocations: 7.984 kB / 1.39 GB, free: 2.23 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4435, allocations: 0 / 1.39 GB, free: 2.23 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.4435, allocations: 3.938 kB / 1.39 GB, free: 2.227 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/0.4454, allocations: 1.151 MB / 1.391 GB, free: 1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.4454, allocations: 8.031 kB / 1.391 GB, free: 0.9922 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.4457, allocations: 59.89 kB / 1.391 GB, free: 0.9336 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002845/0.446, allocations: 86.52 kB / 1.391 GB, free: 0.8398 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.446, allocations: 12 kB / 1.391 GB, free: 0.8281 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003835/0.4498, allocations: 3.965 MB / 1.395 GB, free: 12.56 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.4498, allocations: 8.125 kB / 1.395 GB, free: 12.55 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.4509, allocations: 0.7824 MB / 1.395 GB, free: 11.71 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/0.4511, allocations: 79.61 kB / 1.396 GB, free: 11.63 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.431e-05/0.4512, allocations: 12 kB / 1.396 GB, free: 11.62 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.4515, allocations: 19.97 kB / 1.396 GB, free: 11.6 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/0.4516, allocations: 35.83 kB / 1.396 GB, free: 11.57 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.4516, allocations: 16 kB / 1.396 GB, free: 11.55 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004029/0.452, allocations: 259.2 kB / 1.396 GB, free: 11.3 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/0.452, allocations: 0 / 1.396 GB, free: 11.3 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007192/0.4527, allocations: 124 kB / 1.396 GB, free: 11.18 MB / 1.092 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.0001668/0.4529, allocations: 111.2 kB / 1.396 GB, free: 11.06 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001348/0.4542, allocations: 0.7822 MB / 1.397 GB, free: 10.24 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4542, allocations: 0 / 1.397 GB, free: 10.24 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0007612/0.455, allocations: 0.532 MB / 1.397 GB, free: 9.672 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00091/0.4559, allocations: 143.4 kB / 1.398 GB, free: 9.539 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.4577, allocations: 0.9166 MB / 1.398 GB, free: 8.559 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.458, allocations: 256.2 kB / 1.399 GB, free: 8.285 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002713/0.4583, allocations: 108.3 kB / 1.399 GB, free: 8.18 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.438e-05/0.4584, allocations: 35.44 kB / 1.399 GB, free: 8.145 MB / 1.092 GB Notification: Performance of SimCode: time 9.41e-07/0.4584, allocations: 0 / 1.399 GB, free: 8.145 MB / 1.092 GB Notification: Performance of Templates: time 0.01306/0.4714, allocations: 6.399 MB / 1.405 GB, free: 1.859 MB / 1.092 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.363925727084279]