Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.001564/0.001564, allocations: 106.6 kB / 18.19 MB, free: 4.117 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.001618/0.001618, allocations: 192.4 kB / 21.34 MB, free: 0.9766 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.508/1.508, allocations: 225.6 MB / 249.9 MB, free: 3.227 MB / 190.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.644/2.644, allocations: 443.5 MB / 0.731 GB, free: 13.97 MB / 0.5762 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.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=529,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=529,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002322/0.002322, allocations: 71.88 kB / 1.06 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3492, allocations: 160.7 MB / 1.217 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.8178/1.167, allocations: 61.04 MB / 1.276 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01955/1.187, allocations: 13.26 MB / 1.289 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003763/1.19, allocations: 72.5 kB / 1.289 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004591/1.195, allocations: 0.9989 MB / 1.29 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008736/1.204, allocations: 2.43 MB / 1.293 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005463/1.209, allocations: 1.618 MB / 1.294 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009614/1.219, allocations: 4.344 MB / 1.298 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002601/1.221, allocations: 1.123 MB / 1.299 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005415/1.227, allocations: 1.609 MB / 1.301 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003261/1.23, allocations: 1.273 MB / 1.302 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005009/1.231, allocations: 143 kB / 1.302 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006767/1.237, allocations: 1.536 MB / 1.304 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001111/1.238, allocations: 448.7 kB / 1.304 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002124/1.241, allocations: 0.9225 MB / 1.305 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007613/1.248, allocations: 2.844 MB / 1.308 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/1.248, allocations: 0 / 1.308 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.734e-06/1.248, allocations: 0 / 1.308 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.963e-05/1.248, allocations: 1.531 kB / 1.308 GB, free: 2.762 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: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.005302/1.254, allocations: 2.281 MB / 1.31 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/1.254, allocations: 13.5 kB / 1.31 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004621/1.258, allocations: 0.6194 MB / 1.311 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003312/1.261, allocations: 1.485 MB / 1.312 GB, free: 324 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001901/1.262, allocations: 155.5 kB / 1.312 GB, free: 212 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002156/1.262, allocations: 109.2 kB / 1.313 GB, free: 172 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004218/1.266, allocations: 1.417 MB / 1.314 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/1.266, allocations: 0.75 kB / 1.314 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/1.266, allocations: 37.38 kB / 1.314 GB, free: 15.75 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.955e-05/1.266, allocations: 29 kB / 1.314 GB, free: 15.74 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004362/1.271, allocations: 1.433 MB / 1.315 GB, free: 15.31 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.01026/1.281, allocations: 5.601 MB / 1.321 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003075/1.284, allocations: 1.069 MB / 1.322 GB, free: 11.12 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001762/1.286, allocations: 0.596 MB / 1.323 GB, free: 10.96 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/1.287, allocations: 1.248 MB / 1.324 GB, free: 9.523 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002144/1.289, allocations: 0.689 MB / 1.324 GB, free: 9.309 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 3.606e-06/1.289, allocations: 0 / 1.324 GB, free: 9.309 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.006241/1.295, allocations: 1.784 MB / 1.326 GB, free: 8.785 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/1.295, allocations: 67.67 kB / 1.326 GB, free: 8.715 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002374/1.298, allocations: 1.347 MB / 1.328 GB, free: 8.199 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001932/1.298, allocations: 47.89 kB / 1.328 GB, free: 8.152 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000757/1.299, allocations: 0.6779 MB / 1.328 GB, free: 7.617 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003196/1.299, allocations: 252.5 kB / 1.328 GB, free: 7.426 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003403/1.299, allocations: 179.7 kB / 1.329 GB, free: 7.344 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001721/1.3, allocations: 337.4 kB / 1.329 GB, free: 7.023 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/1.301, allocations: 0.563 MB / 1.33 GB, free: 6.867 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/1.303, allocations: 0.7817 MB / 1.33 GB, free: 6.477 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003387/1.307, allocations: 1.197 MB / 1.331 GB, free: 6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/1.307, allocations: 1.25 kB / 1.331 GB, free: 6 MB / 1.014 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004468/1.311, allocations: 1.481 MB / 1.333 GB, free: 5.484 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.224e-05/1.311, allocations: 33.23 kB / 1.333 GB, free: 5.453 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/1.311, allocations: 11.34 kB / 1.333 GB, free: 5.449 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-05/1.311, allocations: 6.531 kB / 1.333 GB, free: 5.449 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/1.313, allocations: 268.8 kB / 1.333 GB, free: 5.422 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/1.313, allocations: 6.312 kB / 1.333 GB, free: 5.422 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/1.315, allocations: 199.3 kB / 1.333 GB, free: 5.355 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/1.315, allocations: 36.84 kB / 1.333 GB, free: 5.352 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002256/1.317, allocations: 0.8219 MB / 1.334 GB, free: 5.027 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002005/1.319, allocations: 0.7804 MB / 1.335 GB, free: 4.633 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003515/1.323, allocations: 1.187 MB / 1.336 GB, free: 4.156 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.255e-06/1.323, allocations: 5.281 kB / 1.336 GB, free: 4.152 MB / 1.014 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.004668/1.327, allocations: 1.466 MB / 1.338 GB, free: 3.645 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.811e-05/1.327, allocations: 36.05 kB / 1.338 GB, free: 3.613 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/1.327, allocations: 4.031 kB / 1.338 GB, free: 3.613 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/1.327, allocations: 14.47 kB / 1.338 GB, free: 3.605 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/1.329, allocations: 263.2 kB / 1.338 GB, free: 3.582 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.04e-05/1.329, allocations: 6.156 kB / 1.338 GB, free: 3.582 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/1.331, allocations: 188.2 kB / 1.338 GB, free: 3.531 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/1.331, allocations: 36.5 kB / 1.338 GB, free: 3.527 MB / 1.014 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.0004487/1.331, allocations: 240 kB / 1.338 GB, free: 3.301 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006916/1.332, allocations: 162.6 kB / 1.339 GB, free: 3.211 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004893/1.337, allocations: 1.521 MB / 1.34 GB, free: 2.719 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.691e-05/1.337, allocations: 8.75 kB / 1.34 GB, free: 2.719 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/1.337, allocations: 0 / 1.34 GB, free: 2.719 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003775/1.341, allocations: 1.288 MB / 1.341 GB, free: 2.246 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009454/1.35, allocations: 3.308 MB / 1.344 GB, free: 396 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/1.35, allocations: 4.438 kB / 1.344 GB, free: 396 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/1.352, allocations: 233.9 kB / 1.345 GB, free: 320 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.523e-05/1.352, allocations: 10.75 kB / 1.345 GB, free: 316 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/1.352, allocations: 29.06 kB / 1.345 GB, free: 300 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.628e-05/1.352, allocations: 10.06 kB / 1.345 GB, free: 296 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/1.352, allocations: 5.375 kB / 1.345 GB, free: 296 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006978/1.359, allocations: 2.327 MB / 1.347 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/1.36, allocations: 372.3 kB / 1.347 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006518/1.361, allocations: 16.38 kB / 1.347 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002007/1.363, allocations: 136.4 kB / 1.348 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/1.363, allocations: 80.03 kB / 1.348 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/1.363, allocations: 37.72 kB / 1.348 GB, free: 14.56 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002327/1.365, allocations: 0.9607 MB / 1.349 GB, free: 14.04 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/1.365, allocations: 0 / 1.349 GB, free: 14.04 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00419/1.37, allocations: 0.8168 MB / 1.349 GB, free: 13.87 MB / 1.029 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.001883/1.372, allocations: 0.5342 MB / 1.35 GB, free: 13.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.006485/1.378, allocations: 2.023 MB / 1.352 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/1.378, allocations: 1.188 kB / 1.352 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002151/1.38, allocations: 0.6743 MB / 1.353 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00479/1.385, allocations: 0.7568 MB / 1.353 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008089/1.393, allocations: 3.034 MB / 1.356 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/1.394, allocations: 1.249 MB / 1.357 GB, free: 9.148 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007657/1.395, allocations: 139.4 kB / 1.358 GB, free: 9.113 MB / 1.029 GB Notification: Performance of SimCode: time 1.553e-06/1.395, allocations: 1.719 kB / 1.358 GB, free: 9.113 MB / 1.029 GB Notification: Performance of Templates: time 0.05067/1.446, allocations: 27.73 MB / 1.385 GB, free: 1.516 MB / 1.045 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches