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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007929/0.0007929, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008701/0.0008702, allocations: 183.7 kB / 16.92 MB, free: 6.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 437.8 MB / 0.7128 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003163, allocations: 8.234 kB / 0.8735 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7073/0.7076, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06242/0.77, allocations: 59.13 MB / 1.081 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01995/0.79, allocations: 13.12 MB / 1.094 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002815/0.7929, allocations: 59.56 kB / 1.094 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002938/0.7959, allocations: 0.8099 MB / 1.095 GB, free: 6.523 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006794/0.8027, allocations: 2.142 MB / 1.097 GB, free: 4.371 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004284/0.807, allocations: 1.42 MB / 1.099 GB, free: 2.965 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007436/0.8145, allocations: 5.566 MB / 1.104 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002288/0.8168, allocations: 1.107 MB / 1.105 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003225/0.82, allocations: 1.318 MB / 1.106 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002281/0.8223, allocations: 1.166 MB / 1.108 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004062/0.8228, allocations: 63.94 kB / 1.108 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00351/0.8263, allocations: 1.368 MB / 1.109 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006726/0.827, allocations: 338.4 kB / 1.109 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001724/0.8287, allocations: 0.8409 MB / 1.11 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003396/0.8321, allocations: 2.05 MB / 1.112 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.8321, allocations: 0 / 1.112 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.754e-06/0.8322, allocations: 0 / 1.112 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.81e-05/0.8322, allocations: 4 kB / 1.112 GB, free: 5.07 MB / 0.8575 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.004339/0.8366, allocations: 1.878 MB / 1.114 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.8366, allocations: 12.02 kB / 1.114 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003931/0.8406, allocations: 0.5801 MB / 1.114 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002934/0.8435, allocations: 1.406 MB / 1.116 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002019/0.8438, allocations: 145.4 kB / 1.116 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002617/0.844, allocations: 104 kB / 1.116 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003409/0.8474, allocations: 1.354 MB / 1.117 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/0.8475, allocations: 3.938 kB / 1.117 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/0.8476, allocations: 43.98 kB / 1.117 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.658e-05/0.8477, allocations: 28 kB / 1.117 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003995/0.8517, allocations: 1.397 MB / 1.119 GB, free: 13.96 MB / 0.8731 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.008503/0.8602, allocations: 5.481 MB / 1.124 GB, free: 8.121 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005724/0.866, allocations: 1.412 MB / 1.126 GB, free: 6.684 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001796/0.8678, allocations: 0.6348 MB / 1.126 GB, free: 6.047 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009848/0.8688, allocations: 1.236 MB / 1.127 GB, free: 4.531 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001986/0.8708, allocations: 0.6901 MB / 1.128 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 2.926e-06/0.8708, allocations: 0 / 1.128 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.005474/0.8763, allocations: 1.797 MB / 1.13 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.8764, allocations: 59.97 kB / 1.13 GB, free: 1.957 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002121/0.8785, allocations: 1.275 MB / 1.131 GB, free: 0.6719 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.8786, allocations: 45.7 kB / 1.131 GB, free: 0.6211 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006409/0.8793, allocations: 0.6503 MB / 1.132 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000286/0.8796, allocations: 248.5 kB / 1.132 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.8797, allocations: 65.69 kB / 1.132 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.8799, allocations: 337.9 kB / 1.132 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/0.8816, allocations: 0.5524 MB / 1.133 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.8835, allocations: 0.7884 MB / 1.134 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003366/0.8868, allocations: 1.214 MB / 1.135 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.8869, allocations: 0 / 1.135 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00422/0.8911, allocations: 1.473 MB / 1.136 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001724/0.8913, allocations: 220.1 kB / 1.137 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.8913, allocations: 8 kB / 1.137 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.8913, allocations: 8 kB / 1.137 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.8927, allocations: 271.6 kB / 1.137 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.247e-05/0.8927, allocations: 15.98 kB / 1.137 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/0.8946, allocations: 239 kB / 1.137 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/0.8948, allocations: 43.97 kB / 1.137 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.8948, allocations: 4 kB / 1.137 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003836/0.8987, allocations: 1.317 MB / 1.138 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.8987, allocations: 4 kB / 1.138 GB, free: 8.957 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.8987, allocations: 4 kB / 1.138 GB, free: 8.953 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.9, allocations: 275.8 kB / 1.139 GB, free: 8.684 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.9, allocations: 8 kB / 1.139 GB, free: 8.676 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.9019, allocations: 243 kB / 1.139 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.902, allocations: 35.97 kB / 1.139 GB, free: 8.402 MB / 0.8887 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.0007434/0.9027, allocations: 412.9 kB / 1.139 GB, free: 7.988 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003717/0.9031, allocations: 150.2 kB / 1.14 GB, free: 7.84 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004274/0.9074, allocations: 1.528 MB / 1.141 GB, free: 6.293 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/0.9074, allocations: 8 kB / 1.141 GB, free: 6.285 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.9075, allocations: 7.875 kB / 1.141 GB, free: 6.277 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003583/0.911, allocations: 1.292 MB / 1.142 GB, free: 4.953 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008321/0.9194, allocations: 3.265 MB / 1.145 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.9194, allocations: 4 kB / 1.145 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/0.9206, allocations: 235.7 kB / 1.146 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-05/0.9207, allocations: 12 kB / 1.146 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-05/0.9208, allocations: 27.97 kB / 1.146 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.306e-05/0.9208, allocations: 15.94 kB / 1.146 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.9208, allocations: 7.938 kB / 1.146 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005909/0.9267, allocations: 2.317 MB / 1.148 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008791/0.9276, allocations: 374.8 kB / 1.148 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003273/0.9279, allocations: 16 kB / 1.148 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00171/0.9297, allocations: 187.8 kB / 1.149 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.9298, allocations: 68.36 kB / 1.149 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.93, allocations: 35.97 kB / 1.149 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001481/0.9314, allocations: 0.9168 MB / 1.15 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9315, allocations: 0 / 1.15 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002498/0.934, allocations: 0.7915 MB / 1.15 GB, free: 12.45 MB / 0.9044 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.001201/0.9352, allocations: 0.5097 MB / 1.151 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.005898/0.9411, allocations: 2.109 MB / 1.153 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.9411, allocations: 0 / 1.153 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002041/0.9432, allocations: 0.6992 MB / 1.154 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006658/0.9498, allocations: 0.754 MB / 1.154 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008561/0.9584, allocations: 3.507 MB / 1.158 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/0.9596, allocations: 1.23 MB / 1.159 GB, free: 3.496 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007288/0.9603, allocations: 147.3 kB / 1.159 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of SimCode: time 8.71e-07/0.9603, allocations: 4 kB / 1.159 GB, free: 3.348 MB / 0.9044 GB Notification: Performance of Templates: time 0.0435/1.004, allocations: 26.53 MB / 1.185 GB, free: 9.023 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) 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) Reference file matches