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.009179/0.009179, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001558/0.001558, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.358/2.358, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.91 kB / 0.9509 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.961/0.9623, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.07784/1.04, allocations: 60.45 MB / 1.147 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02894/1.069, allocations: 13.18 MB / 1.16 GB, free: 0.6758 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004941/1.074, allocations: 66.25 kB / 1.16 GB, free: 0.6523 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004033/1.078, allocations: 0.9886 MB / 1.161 GB, free: 52 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01093/1.089, allocations: 2.425 MB / 1.163 GB, free: 14.6 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006533/1.096, allocations: 1.553 MB / 1.165 GB, free: 13.76 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.009751/1.106, allocations: 4.292 MB / 1.169 GB, free: 11.7 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00364/1.109, allocations: 1.326 MB / 1.17 GB, free: 11.07 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005971/1.115, allocations: 1.619 MB / 1.172 GB, free: 10.31 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003342/1.119, allocations: 1.194 MB / 1.173 GB, free: 9.75 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0008318/1.12, allocations: 139.2 kB / 1.173 GB, free: 9.75 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005876/1.125, allocations: 1.444 MB / 1.175 GB, free: 9.09 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001183/1.127, allocations: 416.1 kB / 1.175 GB, free: 8.773 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002537/1.129, allocations: 0.8961 MB / 1.176 GB, free: 8.176 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.007889/1.137, allocations: 2.755 MB / 1.178 GB, free: 6.359 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.137, allocations: 0 / 1.178 GB, free: 6.359 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.407e-06/1.137, allocations: 1.031 kB / 1.178 GB, free: 6.359 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.227e-05/1.137, allocations: 0 / 1.178 GB, free: 6.359 MB / 0.92 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.005594/1.143, allocations: 2.169 MB / 1.181 GB, free: 4.719 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/1.143, allocations: 9.688 kB / 1.181 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003804/1.147, allocations: 0.6069 MB / 1.181 GB, free: 4.457 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003114/1.15, allocations: 1.419 MB / 1.183 GB, free: 3.363 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001738/1.15, allocations: 140.5 kB / 1.183 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/1.15, allocations: 108.2 kB / 1.183 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003159/1.153, allocations: 1.312 MB / 1.184 GB, free: 2.449 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/1.153, allocations: 1.219 kB / 1.184 GB, free: 2.449 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/1.154, allocations: 45.05 kB / 1.184 GB, free: 2.414 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.416e-05/1.154, allocations: 24.16 kB / 1.184 GB, free: 2.414 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003591/1.157, allocations: 1.311 MB / 1.185 GB, free: 1.809 MB / 0.92 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.008509/1.166, allocations: 5.344 MB / 1.191 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005562/1.171, allocations: 1.416 MB / 1.192 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/1.173, allocations: 0.5912 MB / 1.193 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/1.174, allocations: 1.242 MB / 1.194 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00189/1.176, allocations: 0.6496 MB / 1.194 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=69): time 1.032e-05/1.176, allocations: 0 / 1.194 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=69): time 0.005745/1.182, allocations: 1.68 MB / 1.196 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.976e-05/1.182, allocations: 59.69 kB / 1.196 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002303/1.184, allocations: 1.286 MB / 1.197 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001652/1.184, allocations: 40.23 kB / 1.197 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006833/1.185, allocations: 0.6524 MB / 1.198 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002893/1.185, allocations: 238.2 kB / 1.198 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003738/1.186, allocations: 174.5 kB / 1.199 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.186, allocations: 332.9 kB / 1.199 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001542/1.187, allocations: 0.5246 MB / 1.199 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/1.189, allocations: 0.7415 MB / 1.2 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003166/1.192, allocations: 1.134 MB / 1.201 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/1.192, allocations: 1.25 kB / 1.201 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004233/1.197, allocations: 1.401 MB / 1.203 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.269e-05/1.197, allocations: 33.45 kB / 1.203 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/1.197, allocations: 3.625 kB / 1.203 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/1.197, allocations: 9.344 kB / 1.203 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/1.198, allocations: 257.7 kB / 1.203 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/1.198, allocations: 6.812 kB / 1.203 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/1.2, allocations: 174.7 kB / 1.203 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/1.2, allocations: 42.97 kB / 1.203 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002096/1.202, allocations: 0.7834 MB / 1.204 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001818/1.204, allocations: 0.7344 MB / 1.205 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00312/1.207, allocations: 1.12 MB / 1.206 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.979e-06/1.207, allocations: 1.469 kB / 1.206 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.003961/1.211, allocations: 1.381 MB / 1.207 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/1.211, allocations: 37.7 kB / 1.207 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/1.211, allocations: 4 kB / 1.207 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/1.211, allocations: 8 kB / 1.207 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/1.212, allocations: 255.8 kB / 1.207 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.008e-05/1.213, allocations: 11.94 kB / 1.207 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/1.214, allocations: 179.2 kB / 1.207 GB, free: 2.441 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/1.214, allocations: 35.98 kB / 1.207 GB, free: 2.406 MB / 0.9356 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.0003639/1.215, allocations: 236.1 kB / 1.208 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004839/1.215, allocations: 142.2 kB / 1.208 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003856/1.219, allocations: 1.454 MB / 1.209 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/1.219, allocations: 8 kB / 1.209 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/1.219, allocations: 0 / 1.209 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003014/1.222, allocations: 1.222 MB / 1.21 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007242/1.229, allocations: 3.178 MB / 1.214 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/1.229, allocations: 4 kB / 1.214 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/1.231, allocations: 216.2 kB / 1.214 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-05/1.231, allocations: 15.88 kB / 1.214 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.319e-05/1.231, allocations: 31.97 kB / 1.214 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/1.231, allocations: 8 kB / 1.214 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/1.231, allocations: 11.88 kB / 1.214 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005414/1.236, allocations: 2.2 MB / 1.216 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008519/1.237, allocations: 342.9 kB / 1.216 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003566/1.237, allocations: 23.94 kB / 1.216 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/1.239, allocations: 135.8 kB / 1.216 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/1.239, allocations: 68.36 kB / 1.217 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/1.239, allocations: 43.97 kB / 1.217 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001428/1.241, allocations: 0.9165 MB / 1.217 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/1.241, allocations: 0 / 1.217 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002785/1.243, allocations: 0.7876 MB / 1.218 GB, free: 7.066 MB / 0.9512 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.001293/1.245, allocations: 0.5239 MB / 1.219 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005314/1.25, allocations: 1.992 MB / 1.221 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.25, allocations: 4.125 kB / 1.221 GB, free: 4.527 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001827/1.252, allocations: 0.6716 MB / 1.221 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003283/1.255, allocations: 0.7534 MB / 1.222 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004934/1.26, allocations: 2.649 MB / 1.225 GB, free: 388 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008509/1.261, allocations: 1.234 MB / 1.226 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001599/1.263, allocations: 371.3 kB / 1.226 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/1.263, allocations: 123.4 kB / 1.226 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of SimCode: time 8.21e-07/1.263, allocations: 0 / 1.226 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of Templates: time 0.05796/1.321, allocations: 31.68 MB / 1.257 GB, free: 15.36 MB / 0.9981 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