Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00133/0.00133, allocations: 103.7 kB / 18.19 MB, free: 3.879 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.001466/0.001466, allocations: 189.9 kB / 21.34 MB, free: 0.7383 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.521/1.521, allocations: 225.6 MB / 250 MB, free: 3.195 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.739/2.739, allocations: 476.7 MB / 0.7634 GB, free: 15.18 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Fluid.Chillers.Examples.ElectricEIR") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 71.89 kB / 1.108 GB, free: 4.719 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075/1.077, allocations: 168.7 MB / 1.272 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.07426/1.151, allocations: 61.05 MB / 1.332 GB, free: 12.4 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02401/1.175, allocations: 13.22 MB / 1.345 GB, free: 2.926 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003962/1.179, allocations: 71.44 kB / 1.345 GB, free: 2.898 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00403/1.183, allocations: 1.009 MB / 1.346 GB, free: 2.297 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.009617/1.192, allocations: 2.431 MB / 1.348 GB, free: 0.8516 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.006301/1.199, allocations: 1.608 MB / 1.35 GB, free: 15.97 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.009159/1.208, allocations: 4.341 MB / 1.354 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003132/1.211, allocations: 1.124 MB / 1.355 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005536/1.217, allocations: 1.615 MB / 1.357 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00363/1.22, allocations: 1.266 MB / 1.358 GB, free: 12 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0008308/1.221, allocations: 147.2 kB / 1.358 GB, free: 12 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005725/1.227, allocations: 1.504 MB / 1.36 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001232/1.228, allocations: 441.6 kB / 1.36 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003146/1.231, allocations: 0.906 MB / 1.361 GB, free: 10.62 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.009598/1.241, allocations: 2.807 MB / 1.364 GB, free: 9.48 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.066e-06/1.241, allocations: 0 / 1.364 GB, free: 9.48 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.084e-06/1.241, allocations: 0 / 1.364 GB, free: 9.48 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001152/1.241, allocations: 0 / 1.364 GB, free: 9.48 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: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.007899/1.249, allocations: 2.243 MB / 1.366 GB, free: 7.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/1.249, allocations: 13.19 kB / 1.366 GB, free: 7.766 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004903/1.254, allocations: 0.6218 MB / 1.367 GB, free: 7.492 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00433/1.258, allocations: 1.465 MB / 1.368 GB, free: 6.367 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002876/1.258, allocations: 150.7 kB / 1.368 GB, free: 6.258 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004879/1.259, allocations: 104.3 kB / 1.368 GB, free: 6.223 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005302/1.264, allocations: 1.374 MB / 1.37 GB, free: 5.414 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.75e-05/1.264, allocations: 0 / 1.37 GB, free: 5.414 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000218/1.264, allocations: 37.56 kB / 1.37 GB, free: 5.387 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.468e-05/1.264, allocations: 32.5 kB / 1.37 GB, free: 5.379 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005093/1.27, allocations: 1.424 MB / 1.371 GB, free: 4.707 MB / 1.061 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.01171/1.281, allocations: 5.572 MB / 1.376 GB, free: 15.99 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00607/1.287, allocations: 1.342 MB / 1.378 GB, free: 15.32 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002059/1.289, allocations: 0.5949 MB / 1.378 GB, free: 15.05 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/1.291, allocations: 1.238 MB / 1.38 GB, free: 13.59 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002272/1.293, allocations: 0.6931 MB / 1.38 GB, free: 13.21 MB / 1.076 GB Notification: Performance of pre-optimization done (n=70): time 3.586e-06/1.293, allocations: 0 / 1.38 GB, free: 13.21 MB / 1.076 GB Notification: Performance of matching and sorting (n=70): time 0.006223/1.299, allocations: 1.761 MB / 1.382 GB, free: 12.4 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/1.299, allocations: 63.98 kB / 1.382 GB, free: 12.34 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002907/1.302, allocations: 1.294 MB / 1.383 GB, free: 11.63 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002486/1.302, allocations: 41.48 kB / 1.383 GB, free: 11.59 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008821/1.303, allocations: 0.6575 MB / 1.384 GB, free: 11.01 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004725/1.304, allocations: 251.7 kB / 1.384 GB, free: 10.79 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005/1.304, allocations: 179.2 kB / 1.384 GB, free: 10.68 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001763/1.304, allocations: 337.4 kB / 1.385 GB, free: 10.36 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/1.306, allocations: 0.5573 MB / 1.385 GB, free: 10.09 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/1.308, allocations: 0.7775 MB / 1.386 GB, free: 9.582 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003677/1.312, allocations: 1.188 MB / 1.387 GB, free: 8.938 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/1.312, allocations: 1.219 kB / 1.387 GB, free: 8.938 MB / 1.076 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004768/1.317, allocations: 1.463 MB / 1.389 GB, free: 8.227 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.23e-05/1.317, allocations: 40.44 kB / 1.389 GB, free: 8.188 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/1.317, allocations: 3.219 kB / 1.389 GB, free: 8.188 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.789e-05/1.317, allocations: 10.84 kB / 1.389 GB, free: 8.184 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/1.318, allocations: 265.8 kB / 1.389 GB, free: 8.105 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.998e-05/1.318, allocations: 7.438 kB / 1.389 GB, free: 8.105 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002103/1.32, allocations: 197 kB / 1.389 GB, free: 8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/1.321, allocations: 40.05 kB / 1.389 GB, free: 7.988 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002473/1.323, allocations: 0.8101 MB / 1.39 GB, free: 7.551 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002081/1.325, allocations: 0.7645 MB / 1.391 GB, free: 7.043 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003618/1.329, allocations: 1.175 MB / 1.392 GB, free: 6.402 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.21e-06/1.329, allocations: 1.062 kB / 1.392 GB, free: 6.402 MB / 1.076 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.004788/1.333, allocations: 1.459 MB / 1.393 GB, free: 5.691 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.74e-05/1.334, allocations: 33.64 kB / 1.393 GB, free: 5.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/1.334, allocations: 2.625 kB / 1.393 GB, free: 5.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/1.334, allocations: 7.844 kB / 1.393 GB, free: 5.66 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/1.335, allocations: 264.2 kB / 1.394 GB, free: 5.582 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.851e-05/1.335, allocations: 14.53 kB / 1.394 GB, free: 5.574 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/1.337, allocations: 191.5 kB / 1.394 GB, free: 5.477 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/1.337, allocations: 45.83 kB / 1.394 GB, free: 5.457 MB / 1.076 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.0004238/1.338, allocations: 224 kB / 1.394 GB, free: 5.246 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007332/1.338, allocations: 165.1 kB / 1.394 GB, free: 5.152 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004663/1.343, allocations: 1.5 MB / 1.396 GB, free: 4.363 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.583e-05/1.343, allocations: 12.12 kB / 1.396 GB, free: 4.359 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/1.343, allocations: 0 / 1.396 GB, free: 4.359 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003572/1.347, allocations: 1.277 MB / 1.397 GB, free: 3.688 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008828/1.355, allocations: 3.269 MB / 1.4 GB, free: 0.9844 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/1.356, allocations: 4 kB / 1.4 GB, free: 0.9805 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/1.357, allocations: 235.8 kB / 1.4 GB, free: 0.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.921e-05/1.357, allocations: 8 kB / 1.4 GB, free: 0.7422 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.691e-05/1.357, allocations: 35.92 kB / 1.4 GB, free: 0.707 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.556e-05/1.357, allocations: 11.92 kB / 1.4 GB, free: 0.6953 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.357, allocations: 8 kB / 1.4 GB, free: 0.6875 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006348/1.363, allocations: 2.295 MB / 1.403 GB, free: 14.32 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/1.365, allocations: 351.7 kB / 1.403 GB, free: 13.96 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005878/1.365, allocations: 31.92 kB / 1.403 GB, free: 13.93 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/1.367, allocations: 135.9 kB / 1.403 GB, free: 13.79 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/1.367, allocations: 72.36 kB / 1.403 GB, free: 13.72 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/1.367, allocations: 39.97 kB / 1.403 GB, free: 13.68 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001966/1.369, allocations: 0.9207 MB / 1.404 GB, free: 12.77 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/1.369, allocations: 3.938 kB / 1.404 GB, free: 12.76 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003781/1.373, allocations: 0.807 MB / 1.405 GB, free: 11.95 MB / 1.092 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.001717/1.375, allocations: 0.5271 MB / 1.405 GB, free: 11.43 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006398/1.381, allocations: 2.007 MB / 1.407 GB, free: 9.398 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/1.381, allocations: 0 / 1.407 GB, free: 9.398 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002195/1.383, allocations: 0.6639 MB / 1.408 GB, free: 8.73 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004607/1.388, allocations: 0.7605 MB / 1.409 GB, free: 7.98 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007993/1.396, allocations: 2.956 MB / 1.412 GB, free: 4.93 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/1.397, allocations: 1.23 MB / 1.413 GB, free: 3.668 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007939/1.398, allocations: 143.4 kB / 1.413 GB, free: 3.527 MB / 1.092 GB Notification: Performance of SimCode: time 1.173e-06/1.398, allocations: 4 kB / 1.413 GB, free: 3.523 MB / 1.092 GB Notification: Performance of Templates: time 0.04788/1.446, allocations: 27.34 MB / 1.44 GB, free: 8.387 MB / 1.123 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Examples_ElectricEIR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches