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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.825/2.825, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] 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=2500,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=2500,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.001993/0.001993, allocations: 63.89 kB / 1.109 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.045, allocations: 168.7 MB / 1.274 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06828/1.114, allocations: 61.61 MB / 1.334 GB, free: 6.617 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02252/1.136, allocations: 13.26 MB / 1.347 GB, free: 9.324 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003043/1.139, allocations: 71.56 kB / 1.347 GB, free: 9.254 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003296/1.142, allocations: 1.009 MB / 1.348 GB, free: 8.238 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00759/1.15, allocations: 2.432 MB / 1.351 GB, free: 5.797 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005094/1.155, allocations: 1.604 MB / 1.352 GB, free: 4.203 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.007973/1.163, allocations: 4.346 MB / 1.356 GB, free: 15.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002164/1.165, allocations: 1.072 MB / 1.357 GB, free: 14.74 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004621/1.17, allocations: 1.622 MB / 1.359 GB, free: 13.12 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002599/1.172, allocations: 1.264 MB / 1.36 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003342/1.173, allocations: 144 kB / 1.36 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00441/1.177, allocations: 1.505 MB / 1.362 GB, free: 10.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0009647/1.178, allocations: 434.2 kB / 1.362 GB, free: 9.773 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002464/1.181, allocations: 0.9173 MB / 1.363 GB, free: 8.852 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.009466/1.19, allocations: 2.795 MB / 1.366 GB, free: 6.047 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.164e-05/1.19, allocations: 0 / 1.366 GB, free: 6.047 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.786e-06/1.19, allocations: 0 / 1.366 GB, free: 6.047 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001021/1.19, allocations: 0 / 1.366 GB, free: 6.047 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.005483/1.196, allocations: 2.257 MB / 1.368 GB, free: 3.719 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/1.196, allocations: 8.031 kB / 1.368 GB, free: 3.711 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004391/1.2, allocations: 0.6161 MB / 1.369 GB, free: 3.094 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003071/1.203, allocations: 1.466 MB / 1.37 GB, free: 1.578 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/1.203, allocations: 149.4 kB / 1.37 GB, free: 1.418 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001959/1.204, allocations: 99.95 kB / 1.37 GB, free: 1.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003505/1.207, allocations: 1.377 MB / 1.372 GB, free: 15.91 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/1.207, allocations: 11.94 kB / 1.372 GB, free: 15.89 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/1.207, allocations: 36 kB / 1.372 GB, free: 15.86 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.07e-05/1.207, allocations: 24 kB / 1.372 GB, free: 15.84 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004363/1.212, allocations: 1.425 MB / 1.373 GB, free: 14.41 MB / 1.076 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.009215/1.221, allocations: 5.572 MB / 1.379 GB, free: 8.484 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005946/1.227, allocations: 1.353 MB / 1.38 GB, free: 7.105 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001826/1.229, allocations: 0.5958 MB / 1.381 GB, free: 6.508 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001134/1.23, allocations: 1.236 MB / 1.382 GB, free: 4.992 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002029/1.232, allocations: 0.6862 MB / 1.382 GB, free: 4.297 MB / 1.076 GB Notification: Performance of pre-optimization done (n=70): time 2.485e-06/1.232, allocations: 0 / 1.382 GB, free: 4.297 MB / 1.076 GB Notification: Performance of matching and sorting (n=70): time 0.005975/1.238, allocations: 1.766 MB / 1.384 GB, free: 2.523 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.374e-05/1.238, allocations: 67.97 kB / 1.384 GB, free: 2.445 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/1.24, allocations: 1.287 MB / 1.386 GB, free: 1.148 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001219/1.24, allocations: 41.7 kB / 1.386 GB, free: 1.102 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006506/1.24, allocations: 0.659 MB / 1.386 GB, free: 444 kB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002892/1.241, allocations: 253.8 kB / 1.386 GB, free: 188 kB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003541/1.241, allocations: 182.5 kB / 1.387 GB, free: 0 / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001761/1.241, allocations: 334 kB / 1.387 GB, free: 15.67 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001795/1.243, allocations: 0.5551 MB / 1.387 GB, free: 15.11 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002066/1.245, allocations: 0.7842 MB / 1.388 GB, free: 14.24 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003557/1.249, allocations: 1.187 MB / 1.389 GB, free: 13.01 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.249, allocations: 0 / 1.389 GB, free: 13.01 MB / 1.092 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004549/1.253, allocations: 1.462 MB / 1.391 GB, free: 11.54 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.846e-05/1.253, allocations: 33.7 kB / 1.391 GB, free: 11.5 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/1.253, allocations: 4 kB / 1.391 GB, free: 11.49 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.88e-05/1.253, allocations: 11.94 kB / 1.391 GB, free: 11.48 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/1.255, allocations: 268 kB / 1.391 GB, free: 11.22 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.988e-05/1.255, allocations: 11.94 kB / 1.391 GB, free: 11.21 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/1.257, allocations: 191.3 kB / 1.391 GB, free: 11.02 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/1.257, allocations: 39.97 kB / 1.391 GB, free: 10.98 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002334/1.259, allocations: 0.8063 MB / 1.392 GB, free: 10.17 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002055/1.261, allocations: 0.7712 MB / 1.393 GB, free: 9.316 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003599/1.265, allocations: 1.168 MB / 1.394 GB, free: 8.098 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.524e-06/1.265, allocations: 11.94 kB / 1.394 GB, free: 8.086 MB / 1.092 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.004616/1.269, allocations: 1.447 MB / 1.395 GB, free: 6.629 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/1.269, allocations: 35.89 kB / 1.395 GB, free: 6.59 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.269, allocations: 320 / 1.395 GB, free: 6.59 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/1.269, allocations: 12 kB / 1.396 GB, free: 6.578 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/1.271, allocations: 267.6 kB / 1.396 GB, free: 6.316 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.192e-05/1.271, allocations: 11.94 kB / 1.396 GB, free: 6.305 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/1.273, allocations: 195.3 kB / 1.396 GB, free: 6.113 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/1.273, allocations: 35.98 kB / 1.396 GB, free: 6.078 MB / 1.092 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.0003516/1.273, allocations: 229.2 kB / 1.396 GB, free: 5.848 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004737/1.274, allocations: 159 kB / 1.396 GB, free: 5.691 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004571/1.278, allocations: 1.516 MB / 1.398 GB, free: 4.152 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/1.278, allocations: 15.94 kB / 1.398 GB, free: 4.137 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.278, allocations: 0 / 1.398 GB, free: 4.137 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003702/1.282, allocations: 1.269 MB / 1.399 GB, free: 2.836 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007998/1.29, allocations: 3.273 MB / 1.402 GB, free: 15.41 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/1.29, allocations: 4 kB / 1.402 GB, free: 15.4 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/1.291, allocations: 228 kB / 1.403 GB, free: 15.18 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.599e-05/1.291, allocations: 8 kB / 1.403 GB, free: 15.17 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.554e-05/1.291, allocations: 31.91 kB / 1.403 GB, free: 15.14 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.053e-05/1.291, allocations: 8 kB / 1.403 GB, free: 15.13 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.291, allocations: 7.938 kB / 1.403 GB, free: 15.12 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006339/1.298, allocations: 2.299 MB / 1.405 GB, free: 12.75 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008655/1.298, allocations: 359.8 kB / 1.405 GB, free: 12.38 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003525/1.299, allocations: 23.94 kB / 1.405 GB, free: 12.36 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/1.3, allocations: 127.8 kB / 1.405 GB, free: 12.23 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/1.301, allocations: 72.36 kB / 1.405 GB, free: 12.16 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/1.301, allocations: 47.95 kB / 1.405 GB, free: 12.12 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001618/1.302, allocations: 0.9207 MB / 1.406 GB, free: 11.2 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/1.302, allocations: 0 / 1.406 GB, free: 11.2 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002459/1.305, allocations: 0.807 MB / 1.407 GB, free: 10.39 MB / 1.107 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.001267/1.306, allocations: 0.5298 MB / 1.408 GB, free: 9.867 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.006211/1.312, allocations: 2.011 MB / 1.41 GB, free: 7.836 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.321e-06/1.312, allocations: 0 / 1.41 GB, free: 7.836 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002176/1.314, allocations: 0.6835 MB / 1.41 GB, free: 7.148 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004055/1.318, allocations: 0.7477 MB / 1.411 GB, free: 6.414 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007122/1.326, allocations: 2.927 MB / 1.414 GB, free: 3.398 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/1.327, allocations: 1.23 MB / 1.415 GB, free: 2.133 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001699/1.328, allocations: 379.6 kB / 1.415 GB, free: 1.758 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000474/1.329, allocations: 131.4 kB / 1.416 GB, free: 1.629 MB / 1.107 GB Notification: Performance of SimCode: time 7.61e-07/1.329, allocations: 3.938 kB / 1.416 GB, free: 1.625 MB / 1.107 GB Notification: Performance of Templates: time 0.05953/1.388, allocations: 32.48 MB / 1.447 GB, free: 1.547 MB / 1.139 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 -s gbode -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_2/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 [Calling sys.exit(0), Time elapsed: 10.520411648787558]