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.1-maint.10.0.x/package.mo", uses=false) 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.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.001779/0.00178, allocations: 108 kB / 15.6 MB, free: 132 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.002243/0.002243, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.469/1.469, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.728/2.728, allocations: 437 MB / 0.7103 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 75.88 kB / 0.8692 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9404/0.942, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06641/1.008, allocations: 60.62 MB / 1.076 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02041/1.029, allocations: 13.19 MB / 1.089 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003355/1.032, allocations: 71.56 kB / 1.089 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00341/1.036, allocations: 0.9645 MB / 1.09 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.009379/1.045, allocations: 2.328 MB / 1.093 GB, free: 5.082 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004831/1.05, allocations: 1.56 MB / 1.094 GB, free: 3.531 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006667/1.057, allocations: 4.312 MB / 1.098 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002441/1.059, allocations: 1.349 MB / 1.1 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003711/1.063, allocations: 1.561 MB / 1.101 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002053/1.065, allocations: 1.21 MB / 1.102 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002959/1.065, allocations: 144 kB / 1.103 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004114/1.069, allocations: 1.466 MB / 1.104 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004562/1.07, allocations: 426.4 kB / 1.104 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001157/1.071, allocations: 0.9096 MB / 1.105 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004703/1.076, allocations: 2.754 MB / 1.108 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/1.076, allocations: 0 / 1.108 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.375e-06/1.076, allocations: 0 / 1.108 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.903e-05/1.076, allocations: 4 kB / 1.108 GB, free: 5.336 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.003777/1.08, allocations: 2.185 MB / 1.11 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/1.08, allocations: 12.03 kB / 1.11 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003476/1.083, allocations: 0.5527 MB / 1.111 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/1.085, allocations: 1.363 MB / 1.112 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/1.085, allocations: 149.4 kB / 1.112 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/1.086, allocations: 104 kB / 1.112 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002804/1.088, allocations: 1.319 MB / 1.113 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/1.088, allocations: 4 kB / 1.113 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/1.089, allocations: 43.98 kB / 1.114 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/1.089, allocations: 24 kB / 1.114 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003825/1.092, allocations: 1.335 MB / 1.115 GB, free: 14.08 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.007207/1.1, allocations: 5.496 MB / 1.12 GB, free: 8.234 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005346/1.105, allocations: 1.327 MB / 1.122 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/1.107, allocations: 0.6036 MB / 1.122 GB, free: 6.273 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009741/1.108, allocations: 1.236 MB / 1.123 GB, free: 4.762 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001791/1.109, allocations: 0.6588 MB / 1.124 GB, free: 4.09 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 2.776e-06/1.109, allocations: 0 / 1.124 GB, free: 4.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.005212/1.115, allocations: 1.688 MB / 1.126 GB, free: 2.395 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/1.115, allocations: 67.97 kB / 1.126 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001824/1.117, allocations: 1.287 MB / 1.127 GB, free: 1.02 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.015e-05/1.117, allocations: 45.7 kB / 1.127 GB, free: 0.9688 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000611/1.117, allocations: 0.6541 MB / 1.128 GB, free: 312 kB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002319/1.118, allocations: 244.4 kB / 1.128 GB, free: 64 kB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003083/1.118, allocations: 174.5 kB / 1.128 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.118, allocations: 334 kB / 1.128 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001535/1.12, allocations: 0.5317 MB / 1.129 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001923/1.121, allocations: 0.7555 MB / 1.13 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003045/1.125, allocations: 1.136 MB / 1.131 GB, free: 13 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.125, allocations: 4 kB / 1.131 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003682/1.128, allocations: 1.415 MB / 1.132 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.303e-05/1.128, allocations: 35.27 kB / 1.132 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/1.128, allocations: 320 / 1.132 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.81e-05/1.128, allocations: 19.92 kB / 1.132 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/1.13, allocations: 259.6 kB / 1.132 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.65e-05/1.13, allocations: 8 kB / 1.132 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/1.131, allocations: 183.1 kB / 1.133 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/1.131, allocations: 39.98 kB / 1.133 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002159/1.134, allocations: 0.7836 MB / 1.133 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00208/1.136, allocations: 0.7516 MB / 1.134 GB, free: 9.402 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003359/1.139, allocations: 1.132 MB / 1.135 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.594e-06/1.139, allocations: 0 / 1.135 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.004243/1.143, allocations: 1.399 MB / 1.137 GB, free: 6.805 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.918e-05/1.143, allocations: 29.7 kB / 1.137 GB, free: 6.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/1.143, allocations: 7.984 kB / 1.137 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/1.143, allocations: 11.94 kB / 1.137 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/1.145, allocations: 251.8 kB / 1.137 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.163e-05/1.145, allocations: 11.88 kB / 1.137 GB, free: 6.492 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/1.147, allocations: 171.4 kB / 1.137 GB, free: 6.324 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/1.147, allocations: 39.97 kB / 1.137 GB, free: 6.285 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.000398/1.147, allocations: 224.1 kB / 1.137 GB, free: 6.059 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006599/1.148, allocations: 154.1 kB / 1.137 GB, free: 5.906 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004655/1.152, allocations: 1.458 MB / 1.139 GB, free: 4.43 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/1.152, allocations: 11.94 kB / 1.139 GB, free: 4.418 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.042e-05/1.153, allocations: 8 kB / 1.139 GB, free: 4.41 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003329/1.156, allocations: 1.222 MB / 1.14 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009014/1.165, allocations: 3.206 MB / 1.143 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-05/1.165, allocations: 4 kB / 1.143 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00171/1.167, allocations: 228.2 kB / 1.143 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.065e-05/1.167, allocations: 4 kB / 1.143 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/1.167, allocations: 27.92 kB / 1.143 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-05/1.167, allocations: 11.94 kB / 1.143 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/1.167, allocations: 7.984 kB / 1.143 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00876/1.176, allocations: 2.208 MB / 1.146 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001449/1.177, allocations: 354.8 kB / 1.146 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005954/1.178, allocations: 24 kB / 1.146 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002472/1.18, allocations: 127.8 kB / 1.146 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003101/1.181, allocations: 72.36 kB / 1.146 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/1.181, allocations: 43.97 kB / 1.146 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002594/1.183, allocations: 0.9207 MB / 1.147 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.61e-07/1.183, allocations: 0 / 1.147 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.004203/1.188, allocations: 0.7993 MB / 1.148 GB, free: 10.88 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.001938/1.19, allocations: 0.5231 MB / 1.148 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.008643/1.198, allocations: 2.058 MB / 1.15 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/1.198, allocations: 0 / 1.15 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.003113/1.201, allocations: 0.6835 MB / 1.151 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006838/1.208, allocations: 0.7534 MB / 1.152 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/1.219, allocations: 2.891 MB / 1.155 GB, free: 3.887 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001635/1.221, allocations: 1.234 MB / 1.156 GB, free: 2.625 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.003345/1.224, allocations: 367.6 kB / 1.156 GB, free: 2.262 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007165/1.225, allocations: 127.4 kB / 1.156 GB, free: 2.137 MB / 0.9044 GB Notification: Performance of SimCode: time 1.263e-06/1.225, allocations: 0 / 1.156 GB, free: 2.137 MB / 0.9044 GB Notification: Performance of Templates: time 0.06193/1.287, allocations: 31.66 MB / 1.187 GB, free: 2.895 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches