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.001047/0.001047, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001379/0.001379, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.3 MB / 240 MB, free: 5.285 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.774/2.774, allocations: 437.8 MB / 0.7118 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004187/0.0004189, allocations: 8 kB / 0.8722 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7585/0.7589, allocations: 153.8 MB / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.0646/0.8236, allocations: 55.93 MB / 1.077 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02048/0.8441, allocations: 12.36 MB / 1.089 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003203/0.8474, allocations: 59.62 kB / 1.089 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003168/0.8506, allocations: 0.7142 MB / 1.09 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.007264/0.8579, allocations: 1.834 MB / 1.092 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004403/0.8623, allocations: 1.168 MB / 1.093 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.008703/0.871, allocations: 4.789 MB / 1.097 GB, free: 3.008 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002715/0.8738, allocations: 0.9927 MB / 1.098 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003955/0.8778, allocations: 1.283 MB / 1.1 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002608/0.8804, allocations: 1.108 MB / 1.101 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0005869/0.881, allocations: 60 kB / 1.101 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004335/0.8854, allocations: 1.002 MB / 1.102 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006737/0.8861, allocations: 314.6 kB / 1.102 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.8872, allocations: 368.8 kB / 1.102 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003923/0.8911, allocations: 1.958 MB / 1.104 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.8911, allocations: 3.938 kB / 1.104 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.549e-06/0.8912, allocations: 4 kB / 1.104 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.689e-05/0.8912, allocations: 0 / 1.104 GB, free: 11.88 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.004352/0.8956, allocations: 1.906 MB / 1.106 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.8956, allocations: 8.031 kB / 1.106 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00319/0.8988, allocations: 0.5794 MB / 1.107 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002804/0.9016, allocations: 1.345 MB / 1.108 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/0.9018, allocations: 141.4 kB / 1.108 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/0.902, allocations: 104 kB / 1.108 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003009/0.905, allocations: 1.358 MB / 1.11 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.9051, allocations: 0 / 1.11 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.9052, allocations: 40 kB / 1.11 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.776e-05/0.9052, allocations: 31.98 kB / 1.11 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003602/0.9088, allocations: 1.382 MB / 1.111 GB, free: 4.828 MB / 0.8575 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.008821/0.9177, allocations: 5.485 MB / 1.116 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00501/0.9227, allocations: 1.415 MB / 1.118 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001532/0.9242, allocations: 0.6271 MB / 1.118 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/0.9253, allocations: 1.239 MB / 1.12 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001735/0.9271, allocations: 0.6862 MB / 1.12 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 3.146e-06/0.9271, allocations: 3.938 kB / 1.12 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.005022/0.9321, allocations: 1.778 MB / 1.122 GB, free: 8.918 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.9322, allocations: 59.97 kB / 1.122 GB, free: 8.848 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/0.9341, allocations: 1.264 MB / 1.123 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001232/0.9343, allocations: 45.7 kB / 1.123 GB, free: 7.523 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006552/0.9349, allocations: 0.6587 MB / 1.124 GB, free: 6.855 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/0.9352, allocations: 232.6 kB / 1.124 GB, free: 6.625 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.9353, allocations: 16 kB / 1.124 GB, free: 6.609 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.9354, allocations: 345.9 kB / 1.125 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/0.9369, allocations: 0.5446 MB / 1.125 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/0.9385, allocations: 0.7801 MB / 1.126 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.94, allocations: 0.5941 MB / 1.126 GB, free: 4.258 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.94, allocations: 4 kB / 1.126 GB, free: 4.254 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003678/0.9437, allocations: 1.469 MB / 1.128 GB, free: 2.77 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001786/0.9439, allocations: 212.2 kB / 1.128 GB, free: 2.512 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.9439, allocations: 7.938 kB / 1.128 GB, free: 2.504 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.944, allocations: 7.938 kB / 1.128 GB, free: 2.496 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.9451, allocations: 271.7 kB / 1.128 GB, free: 2.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.777e-05/0.9451, allocations: 11.94 kB / 1.128 GB, free: 2.219 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/0.9467, allocations: 247 kB / 1.129 GB, free: 1.977 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-05/0.9468, allocations: 39.94 kB / 1.129 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.9468, allocations: 5.719 kB / 1.129 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003149/0.95, allocations: 1.313 MB / 1.13 GB, free: 0.6094 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.95, allocations: 0 / 1.13 GB, free: 0.6094 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.95, allocations: 8 kB / 1.13 GB, free: 0.6016 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.9511, allocations: 272 kB / 1.13 GB, free: 344 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.819e-05/0.9512, allocations: 19.92 kB / 1.13 GB, free: 324 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.9529, allocations: 235.1 kB / 1.13 GB, free: 88 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.459e-05/0.953, allocations: 39.92 kB / 1.131 GB, free: 48 kB / 0.8731 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,$whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009669/0.954, allocations: 412.9 kB / 1.131 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002869/0.9543, allocations: 150.2 kB / 1.131 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003696/0.958, allocations: 1.528 MB / 1.133 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/0.958, allocations: 8 kB / 1.133 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.958, allocations: 0 / 1.133 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003083/0.9611, allocations: 1.292 MB / 1.134 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006799/0.9679, allocations: 3.269 MB / 1.137 GB, free: 9.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.968, allocations: 4 kB / 1.137 GB, free: 9.176 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.9691, allocations: 235.9 kB / 1.137 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.879e-05/0.9691, allocations: 8 kB / 1.137 GB, free: 8.938 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-05/0.9692, allocations: 23.98 kB / 1.137 GB, free: 8.914 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.546e-05/0.9692, allocations: 11.94 kB / 1.137 GB, free: 8.902 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.9692, allocations: 7.984 kB / 1.137 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005366/0.9746, allocations: 2.313 MB / 1.14 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009866/0.9756, allocations: 374.7 kB / 1.14 GB, free: 6.117 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004304/0.9761, allocations: 23.98 kB / 1.14 GB, free: 6.094 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/0.9777, allocations: 175.8 kB / 1.14 GB, free: 5.922 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.9779, allocations: 76.36 kB / 1.14 GB, free: 5.848 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.978, allocations: 39.97 kB / 1.14 GB, free: 5.809 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001799/0.9798, allocations: 0.8973 MB / 1.141 GB, free: 4.914 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.2e-07/0.9798, allocations: 4 kB / 1.141 GB, free: 4.91 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.003053/0.9829, allocations: 0.7837 MB / 1.142 GB, free: 4.125 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001343/0.9843, allocations: 492 kB / 1.142 GB, free: 3.645 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.005571/0.9898, allocations: 2.085 MB / 1.144 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.9899, allocations: 192 / 1.144 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002107/0.992, allocations: 0.7146 MB / 1.145 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004905/0.9969, allocations: 0.7626 MB / 1.146 GB, free: 68 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008022/1.005, allocations: 3.37 MB / 1.149 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/1.006, allocations: 1.237 MB / 1.15 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002454/1.009, allocations: 371.5 kB / 1.151 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005388/1.009, allocations: 127.4 kB / 1.151 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of SimCode: time 1.493e-06/1.009, allocations: 0 / 1.151 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of Templates: time 0.059/1.068, allocations: 29.06 MB / 1.179 GB, free: 14.18 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