Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_9_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.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_9_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.0009597/0.0009597, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008016/0.008016, allocations: 170 kB / 16.26 MB, free: 6.613 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.458/1.458, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.439/2.439, allocations: 390.9 MB / 0.6663 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.000378, allocations: 11.98 kB / 0.8159 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8501/0.8505, allocations: 142.4 MB / 0.955 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06019/0.9108, allocations: 58.99 MB / 1.013 GB, free: 4.344 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02304/0.9339, allocations: 13.08 MB / 1.025 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004026/0.9379, allocations: 63.56 kB / 1.025 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003767/0.9417, allocations: 0.8101 MB / 1.026 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01125/0.953, allocations: 2.133 MB / 1.028 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.006737/0.9598, allocations: 1.386 MB / 1.03 GB, free: 2.844 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01005/0.9698, allocations: 5.538 MB / 1.035 GB, free: 13.29 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003072/0.9729, allocations: 1.092 MB / 1.036 GB, free: 12.17 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004416/0.9774, allocations: 1.33 MB / 1.037 GB, free: 10.84 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003157/0.9806, allocations: 1.155 MB / 1.039 GB, free: 9.676 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003358/0.9809, allocations: 60 kB / 1.039 GB, free: 9.617 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00505/0.986, allocations: 1.329 MB / 1.04 GB, free: 8.285 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0009564/0.987, allocations: 342.3 kB / 1.04 GB, free: 7.949 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002436/0.9894, allocations: 0.8254 MB / 1.041 GB, free: 7.113 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.007249/0.9967, allocations: 2.64 MB / 1.044 GB, free: 4.465 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.9968, allocations: 0 / 1.044 GB, free: 4.465 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.536e-06/0.9968, allocations: 0 / 1.044 GB, free: 4.465 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.889e-05/0.9968, allocations: 0 / 1.044 GB, free: 4.465 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.005812/1.003, allocations: 1.87 MB / 1.045 GB, free: 2.531 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/1.003, allocations: 8.031 kB / 1.046 GB, free: 2.523 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005811/1.009, allocations: 0.6425 MB / 1.046 GB, free: 1.879 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004077/1.013, allocations: 1.38 MB / 1.047 GB, free: 456 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002439/1.013, allocations: 145.4 kB / 1.048 GB, free: 296 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000275/1.013, allocations: 100 kB / 1.048 GB, free: 196 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004836/1.018, allocations: 1.338 MB / 1.049 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.272e-05/1.018, allocations: 3.938 kB / 1.049 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/1.018, allocations: 44 kB / 1.049 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.442e-05/1.018, allocations: 24 kB / 1.049 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00415/1.023, allocations: 1.382 MB / 1.05 GB, free: 13.36 MB / 0.8106 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.009255/1.032, allocations: 5.362 MB / 1.056 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005779/1.038, allocations: 1.495 MB / 1.057 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0018/1.04, allocations: 0.6237 MB / 1.058 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/1.041, allocations: 1.235 MB / 1.059 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001992/1.043, allocations: 0.6901 MB / 1.06 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=69): time 3.717e-06/1.043, allocations: 0 / 1.06 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of matching and sorting (n=69): time 0.00559/1.048, allocations: 1.781 MB / 1.061 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/1.048, allocations: 59.97 kB / 1.061 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002479/1.051, allocations: 1.267 MB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001753/1.051, allocations: 45.7 kB / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007636/1.052, allocations: 0.6579 MB / 1.063 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000373/1.052, allocations: 236.6 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/1.052, allocations: 69.62 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001126/1.052, allocations: 330 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001656/1.054, allocations: 0.5563 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001911/1.056, allocations: 0.7743 MB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003444/1.059, allocations: 1.202 MB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.126e-06/1.059, allocations: 7.938 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004434/1.064, allocations: 1.458 MB / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001886/1.064, allocations: 203.2 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/1.064, allocations: 4 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.857e-05/1.064, allocations: 11.98 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/1.065, allocations: 275.6 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.759e-05/1.066, allocations: 8 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/1.067, allocations: 235.1 kB / 1.069 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/1.068, allocations: 43.97 kB / 1.069 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/1.068, allocations: 4 kB / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003746/1.071, allocations: 1.302 MB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-05/1.071, allocations: 12.05 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/1.071, allocations: 4 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/1.073, allocations: 271.6 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.437e-05/1.073, allocations: 8 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/1.075, allocations: 235 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/1.075, allocations: 39.97 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (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 (95): * Single equations (assignments): 94 * 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.0008183/1.076, allocations: 408.8 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003683/1.076, allocations: 146.2 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004207/1.08, allocations: 1.516 MB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/1.08, allocations: 8 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/1.08, allocations: 3.938 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003447/1.084, allocations: 1.292 MB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007162/1.091, allocations: 3.237 MB / 1.077 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/1.091, allocations: 8.5 kB / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/1.092, allocations: 239.7 kB / 1.077 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.554e-05/1.092, allocations: 8 kB / 1.077 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.189e-05/1.092, allocations: 27.98 kB / 1.077 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.564e-05/1.092, allocations: 23.86 kB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/1.092, allocations: 4 kB / 1.077 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005936/1.098, allocations: 2.309 MB / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/1.099, allocations: 370.9 kB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/1.1, allocations: 20 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/1.101, allocations: 187.6 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/1.101, allocations: 68.36 kB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.96e-05/1.101, allocations: 39.97 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001336/1.103, allocations: 0.9087 MB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.11e-07/1.103, allocations: 0 / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002233/1.105, allocations: 0.7798 MB / 1.082 GB, free: 12.06 MB / 0.8419 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 (73): * Single equations (assignments): 65 * 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.001118/1.106, allocations: 0.4996 MB / 1.082 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005921/1.112, allocations: 2.082 MB / 1.084 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/1.112, allocations: 0 / 1.084 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002011/1.114, allocations: 0.7147 MB / 1.085 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004922/1.119, allocations: 0.7639 MB / 1.086 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005644/1.125, allocations: 3.258 MB / 1.089 GB, free: 4.648 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009696/1.126, allocations: 1.238 MB / 1.09 GB, free: 3.383 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001982/1.128, allocations: 371.3 kB / 1.09 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004181/1.128, allocations: 123.4 kB / 1.091 GB, free: 2.895 MB / 0.8419 GB Notification: Performance of SimCode: time 1.814e-06/1.128, allocations: 0 / 1.091 GB, free: 2.895 MB / 0.8419 GB Notification: Performance of Templates: time 0.05567/1.184, allocations: 30.71 MB / 1.121 GB, free: 4.562 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Examples_ElectricEIR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches