Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 107.4 kB / 18.18 MB, free: 4.109 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002142/0.002142, allocations: 189.9 kB / 21.34 MB, free: 0.9609 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 250 MB, free: 13.59 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.632/2.632, allocations: 443.5 MB / 0.731 GB, free: 12.71 MB / 0.5919 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=529,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.COP|chi.PLR1|chi.PLR2|chi.CR",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=529,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.COP|chi.PLR1|chi.PLR2|chi.CR",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 71.89 kB / 1.06 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8843/0.8862, allocations: 160.7 MB / 1.217 GB, free: 4.051 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.07827/0.9645, allocations: 61.06 MB / 1.276 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02049/0.985, allocations: 13.22 MB / 1.289 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002467/0.9874, allocations: 71.56 kB / 1.289 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003003/0.9904, allocations: 1.002 MB / 1.29 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006979/0.9974, allocations: 2.436 MB / 1.293 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004649/1.002, allocations: 1.601 MB / 1.294 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00695/1.009, allocations: 4.347 MB / 1.298 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00219/1.011, allocations: 1.115 MB / 1.299 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004082/1.015, allocations: 1.619 MB / 1.301 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00243/1.018, allocations: 1.268 MB / 1.302 GB, free: 15.69 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000393/1.018, allocations: 144 kB / 1.302 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004467/1.023, allocations: 1.505 MB / 1.304 GB, free: 14.04 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008775/1.023, allocations: 438.2 kB / 1.304 GB, free: 13.61 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001723/1.025, allocations: 0.9173 MB / 1.305 GB, free: 12.69 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00585/1.031, allocations: 2.798 MB / 1.308 GB, free: 9.883 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/1.031, allocations: 0 / 1.308 GB, free: 9.883 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.765e-06/1.031, allocations: 0 / 1.308 GB, free: 9.883 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.27e-05/1.031, allocations: 0 / 1.308 GB, free: 9.883 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.004458/1.036, allocations: 2.253 MB / 1.31 GB, free: 7.559 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/1.036, allocations: 16.62 kB / 1.31 GB, free: 7.543 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004413/1.04, allocations: 0.6161 MB / 1.311 GB, free: 6.926 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00301/1.043, allocations: 1.462 MB / 1.312 GB, free: 5.414 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001918/1.043, allocations: 149.4 kB / 1.312 GB, free: 5.254 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/1.043, allocations: 104 kB / 1.312 GB, free: 5.152 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003397/1.047, allocations: 1.373 MB / 1.314 GB, free: 3.746 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/1.047, allocations: 7.953 kB / 1.314 GB, free: 3.738 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/1.047, allocations: 40 kB / 1.314 GB, free: 3.699 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/1.047, allocations: 28 kB / 1.314 GB, free: 3.672 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004266/1.051, allocations: 1.425 MB / 1.315 GB, free: 2.246 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009162/1.06, allocations: 5.572 MB / 1.321 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00598/1.066, allocations: 1.339 MB / 1.322 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00185/1.068, allocations: 0.6056 MB / 1.323 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/1.069, allocations: 1.235 MB / 1.324 GB, free: 8.844 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002081/1.071, allocations: 0.69 MB / 1.324 GB, free: 8.141 MB / 1.029 GB Notification: Performance of pre-optimization done (n=70): time 3.466e-06/1.071, allocations: 0 / 1.324 GB, free: 8.141 MB / 1.029 GB Notification: Performance of matching and sorting (n=70): time 0.005795/1.077, allocations: 1.759 MB / 1.326 GB, free: 6.375 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/1.077, allocations: 59.97 kB / 1.326 GB, free: 6.305 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00211/1.079, allocations: 1.295 MB / 1.327 GB, free: 5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001469/1.08, allocations: 45.7 kB / 1.327 GB, free: 4.949 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007055/1.08, allocations: 0.6629 MB / 1.328 GB, free: 4.277 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003203/1.081, allocations: 249.8 kB / 1.328 GB, free: 4.031 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003807/1.081, allocations: 178.6 kB / 1.329 GB, free: 3.848 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001917/1.081, allocations: 330 kB / 1.329 GB, free: 3.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001827/1.083, allocations: 0.5551 MB / 1.329 GB, free: 2.961 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001985/1.085, allocations: 0.7874 MB / 1.33 GB, free: 2.094 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003404/1.088, allocations: 1.187 MB / 1.331 GB, free: 0.8594 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/1.088, allocations: 0 / 1.331 GB, free: 0.8594 MB / 1.029 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004345/1.093, allocations: 1.462 MB / 1.333 GB, free: 15.38 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.454e-05/1.093, allocations: 33.7 kB / 1.333 GB, free: 15.34 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/1.093, allocations: 7.938 kB / 1.333 GB, free: 15.33 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/1.093, allocations: 7.938 kB / 1.333 GB, free: 15.32 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/1.094, allocations: 275.9 kB / 1.333 GB, free: 15.05 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/1.094, allocations: 8 kB / 1.333 GB, free: 15.05 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/1.096, allocations: 187.3 kB / 1.333 GB, free: 14.86 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/1.096, allocations: 43.97 kB / 1.333 GB, free: 14.82 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002238/1.098, allocations: 0.8076 MB / 1.334 GB, free: 14.01 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001932/1.1, allocations: 0.7712 MB / 1.335 GB, free: 13.16 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003367/1.104, allocations: 1.171 MB / 1.336 GB, free: 11.94 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.456e-05/1.104, allocations: 3.984 kB / 1.336 GB, free: 11.94 MB / 1.045 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.004323/1.108, allocations: 1.458 MB / 1.337 GB, free: 10.46 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.623e-05/1.108, allocations: 35.42 kB / 1.337 GB, free: 10.42 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.108, allocations: 4 kB / 1.337 GB, free: 10.42 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/1.108, allocations: 12.25 kB / 1.337 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/1.109, allocations: 263.6 kB / 1.338 GB, free: 10.15 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/1.109, allocations: 15.88 kB / 1.338 GB, free: 10.13 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/1.111, allocations: 183.5 kB / 1.338 GB, free: 9.953 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.502e-05/1.111, allocations: 35.98 kB / 1.338 GB, free: 9.918 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (chi.tru.y,chi.on,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003658/1.112, allocations: 228.9 kB / 1.338 GB, free: 9.688 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003613/1.112, allocations: 159 kB / 1.338 GB, free: 9.531 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004571/1.116, allocations: 1.508 MB / 1.34 GB, free: 8.004 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.323e-05/1.116, allocations: 15.92 kB / 1.34 GB, free: 7.988 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/1.117, allocations: 0 / 1.34 GB, free: 7.988 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004012/1.121, allocations: 1.277 MB / 1.341 GB, free: 6.68 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007738/1.128, allocations: 3.261 MB / 1.344 GB, free: 3.258 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-05/1.128, allocations: 8 kB / 1.344 GB, free: 3.25 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/1.13, allocations: 227.8 kB / 1.344 GB, free: 3.027 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-05/1.13, allocations: 8 kB / 1.344 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.228e-05/1.13, allocations: 35.91 kB / 1.344 GB, free: 2.984 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.291e-05/1.13, allocations: 11.94 kB / 1.345 GB, free: 2.973 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/1.13, allocations: 4 kB / 1.345 GB, free: 2.969 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006331/1.136, allocations: 2.299 MB / 1.347 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009204/1.137, allocations: 359.7 kB / 1.347 GB, free: 232 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002319/1.137, allocations: 20 kB / 1.347 GB, free: 212 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/1.139, allocations: 135.8 kB / 1.347 GB, free: 76 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/1.139, allocations: 72.36 kB / 1.347 GB, free: 4 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/1.139, allocations: 47.95 kB / 1.347 GB, free: 15.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001434/1.14, allocations: 0.9168 MB / 1.348 GB, free: 15.04 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.14, allocations: 0 / 1.348 GB, free: 15.04 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002418/1.143, allocations: 0.8148 MB / 1.349 GB, free: 14.23 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001239/1.144, allocations: 0.5283 MB / 1.35 GB, free: 13.7 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.006218/1.15, allocations: 2.007 MB / 1.352 GB, free: 11.67 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/1.15, allocations: 0 / 1.352 GB, free: 11.67 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002166/1.152, allocations: 0.6601 MB / 1.352 GB, free: 11.01 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003796/1.156, allocations: 0.7481 MB / 1.353 GB, free: 10.27 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007291/1.164, allocations: 2.96 MB / 1.356 GB, free: 7.211 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/1.165, allocations: 1.23 MB / 1.357 GB, free: 5.953 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007192/1.165, allocations: 139.3 kB / 1.357 GB, free: 5.816 MB / 1.061 GB Notification: Performance of SimCode: time 1.202e-06/1.165, allocations: 0 / 1.357 GB, free: 5.816 MB / 1.061 GB Notification: Performance of Templates: time 0.0482/1.213, allocations: 27.34 MB / 1.384 GB, free: 10.69 MB / 1.092 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Examples_ElectricEIR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches