Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.ElectricReformulatedEIR,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.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,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.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009031/0.009032, allocations: 104.5 kB / 15.74 MB, free: 5.949 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.001785/0.001785, allocations: 192.3 kB / 16.67 MB, free: 5.871 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 15.11 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.336/2.336, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 59.91 kB / 0.9509 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.014, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.07072/1.085, allocations: 60.46 MB / 1.147 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02428/1.109, allocations: 13.21 MB / 1.16 GB, free: 0.6523 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004972/1.114, allocations: 66.69 kB / 1.16 GB, free: 0.6289 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004596/1.119, allocations: 0.9668 MB / 1.161 GB, free: 40 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01001/1.129, allocations: 2.318 MB / 1.163 GB, free: 14.65 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005717/1.134, allocations: 1.555 MB / 1.165 GB, free: 13.81 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008581/1.143, allocations: 4.294 MB / 1.169 GB, free: 11.74 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003164/1.146, allocations: 1.317 MB / 1.17 GB, free: 11.12 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005378/1.152, allocations: 1.621 MB / 1.172 GB, free: 10.36 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003277/1.155, allocations: 1.183 MB / 1.173 GB, free: 9.801 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0008762/1.156, allocations: 138.7 kB / 1.173 GB, free: 9.801 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006207/1.162, allocations: 1.48 MB / 1.174 GB, free: 9.117 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001161/1.163, allocations: 428.2 kB / 1.175 GB, free: 8.793 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002429/1.166, allocations: 0.9094 MB / 1.176 GB, free: 8.184 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.006967/1.173, allocations: 2.798 MB / 1.178 GB, free: 6.34 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/1.173, allocations: 0 / 1.178 GB, free: 6.34 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.234e-06/1.173, allocations: 1.094 kB / 1.178 GB, free: 6.34 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.524e-05/1.173, allocations: 0 / 1.178 GB, free: 6.34 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.005392/1.178, allocations: 2.199 MB / 1.181 GB, free: 4.676 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/1.178, allocations: 9.5 kB / 1.181 GB, free: 4.676 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003555/1.182, allocations: 0.6122 MB / 1.181 GB, free: 4.41 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002985/1.185, allocations: 1.44 MB / 1.183 GB, free: 3.305 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001808/1.185, allocations: 149.1 kB / 1.183 GB, free: 3.199 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/1.185, allocations: 98.95 kB / 1.183 GB, free: 3.168 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003185/1.188, allocations: 1.318 MB / 1.184 GB, free: 2.391 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.142e-05/1.188, allocations: 9.094 kB / 1.184 GB, free: 2.383 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/1.189, allocations: 37.34 kB / 1.184 GB, free: 2.355 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.091e-05/1.189, allocations: 22.94 kB / 1.184 GB, free: 2.355 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003679/1.192, allocations: 1.323 MB / 1.186 GB, free: 1.75 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.007796/1.2, allocations: 5.375 MB / 1.191 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002552/1.203, allocations: 1.056 MB / 1.192 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001565/1.204, allocations: 0.5965 MB / 1.192 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009695/1.205, allocations: 1.238 MB / 1.194 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001838/1.207, allocations: 0.6588 MB / 1.194 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=69): time 4.318e-06/1.207, allocations: 0 / 1.194 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of matching and sorting (n=69): time 0.005302/1.212, allocations: 1.712 MB / 1.196 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/1.212, allocations: 59.69 kB / 1.196 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00208/1.215, allocations: 1.337 MB / 1.197 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001401/1.215, allocations: 44.17 kB / 1.197 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006604/1.215, allocations: 0.6668 MB / 1.198 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/1.216, allocations: 234.1 kB / 1.198 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003651/1.216, allocations: 178.2 kB / 1.198 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.216, allocations: 336.9 kB / 1.199 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/1.218, allocations: 0.5305 MB / 1.199 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001803/1.22, allocations: 0.7457 MB / 1.2 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003255/1.223, allocations: 1.146 MB / 1.201 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.223, allocations: 5.312 kB / 1.201 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00423/1.227, allocations: 1.408 MB / 1.202 GB, free: 5.598 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.206e-05/1.227, allocations: 39.28 kB / 1.202 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/1.227, allocations: 3.25 kB / 1.202 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/1.227, allocations: 10.38 kB / 1.202 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/1.229, allocations: 257.3 kB / 1.203 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/1.229, allocations: 6.656 kB / 1.203 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/1.23, allocations: 178.1 kB / 1.203 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/1.23, allocations: 38.83 kB / 1.203 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002098/1.232, allocations: 0.803 MB / 1.204 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0018/1.234, allocations: 0.7388 MB / 1.204 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003268/1.238, allocations: 1.132 MB / 1.206 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.272e-06/1.238, allocations: 1.406 kB / 1.206 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.00416/1.242, allocations: 1.407 MB / 1.207 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/1.242, allocations: 37.69 kB / 1.207 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/1.242, allocations: 4 kB / 1.207 GB, free: 2.926 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/1.242, allocations: 4 kB / 1.207 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/1.243, allocations: 255.9 kB / 1.207 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/1.243, allocations: 11.94 kB / 1.207 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/1.245, allocations: 171.4 kB / 1.207 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.174e-05/1.245, allocations: 43.98 kB / 1.207 GB, free: 2.449 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.0003442/1.245, allocations: 224.1 kB / 1.208 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002954/1.245, allocations: 150.1 kB / 1.208 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004097/1.25, allocations: 1.478 MB / 1.209 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/1.25, allocations: 7.984 kB / 1.209 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.25, allocations: 7.938 kB / 1.209 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003267/1.253, allocations: 1.226 MB / 1.21 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007434/1.26, allocations: 3.226 MB / 1.214 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/1.26, allocations: 8 kB / 1.214 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/1.261, allocations: 220.2 kB / 1.214 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-05/1.261, allocations: 11.94 kB / 1.214 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.923e-05/1.262, allocations: 27.97 kB / 1.214 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.36e-05/1.262, allocations: 11.94 kB / 1.214 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-05/1.262, allocations: 4 kB / 1.214 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005612/1.267, allocations: 2.235 MB / 1.216 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008227/1.268, allocations: 354.9 kB / 1.216 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003216/1.268, allocations: 23.92 kB / 1.216 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/1.27, allocations: 119.9 kB / 1.217 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/1.27, allocations: 76.36 kB / 1.217 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/1.27, allocations: 35.97 kB / 1.217 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001675/1.272, allocations: 0.9607 MB / 1.218 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.272, allocations: 0 / 1.218 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003244/1.275, allocations: 0.7915 MB / 1.218 GB, free: 6.957 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.001769/1.277, allocations: 0.5267 MB / 1.219 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.006186/1.283, allocations: 2.007 MB / 1.221 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.283, allocations: 3.938 kB / 1.221 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00201/1.285, allocations: 0.6834 MB / 1.221 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004554/1.29, allocations: 0.7652 MB / 1.222 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005221/1.295, allocations: 2.712 MB / 1.225 GB, free: 172 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009155/1.296, allocations: 1.245 MB / 1.226 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00155/1.298, allocations: 371.5 kB / 1.226 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00041/1.298, allocations: 131.3 kB / 1.227 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of SimCode: time 7.21e-07/1.298, allocations: 0 / 1.227 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of Templates: time 0.05719/1.355, allocations: 32.61 MB / 1.258 GB, free: 14.2 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches