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.001408/0.001408, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001485/0.001485, allocations: 192.3 kB / 16.13 MB, free: 6.703 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.388/1.388, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.681/2.681, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001755, allocations: 67.89 kB / 0.8685 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7629/0.7647, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.05794/0.8227, allocations: 60.24 MB / 1.075 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02176/0.8445, allocations: 13.27 MB / 1.088 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003861/0.8484, allocations: 67.56 kB / 1.088 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003936/0.8524, allocations: 0.8099 MB / 1.089 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.008077/0.8605, allocations: 2.144 MB / 1.091 GB, free: 5.984 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004545/0.8651, allocations: 1.422 MB / 1.093 GB, free: 4.574 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007753/0.8729, allocations: 5.564 MB / 1.098 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002328/0.8752, allocations: 1.138 MB / 1.099 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003562/0.8788, allocations: 1.349 MB / 1.101 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002469/0.8813, allocations: 1.205 MB / 1.102 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0005375/0.8819, allocations: 76 kB / 1.102 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003967/0.8859, allocations: 1.388 MB / 1.103 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006846/0.8866, allocations: 362.4 kB / 1.104 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00193/0.8885, allocations: 0.847 MB / 1.104 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005598/0.8941, allocations: 2.711 MB / 1.107 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.8942, allocations: 0 / 1.107 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.283e-06/0.8942, allocations: 0 / 1.107 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.111e-05/0.8943, allocations: 4 kB / 1.107 GB, free: 5.863 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.005654/0.8999, allocations: 2.182 MB / 1.109 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.9, allocations: 12.03 kB / 1.109 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004124/0.9041, allocations: 0.5527 MB / 1.11 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003642/0.9078, allocations: 1.406 MB / 1.111 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000225/0.9081, allocations: 149.4 kB / 1.111 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003279/0.9084, allocations: 104 kB / 1.111 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003644/0.9121, allocations: 1.323 MB / 1.113 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/0.9121, allocations: 3.938 kB / 1.113 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/0.9123, allocations: 44 kB / 1.113 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.21e-05/0.9123, allocations: 24 kB / 1.113 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003955/0.9163, allocations: 1.331 MB / 1.114 GB, free: 14.57 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.008808/0.9251, allocations: 5.457 MB / 1.119 GB, free: 8.762 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005642/0.9308, allocations: 1.326 MB / 1.121 GB, free: 7.41 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001783/0.9326, allocations: 0.6075 MB / 1.121 GB, free: 6.797 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/0.9337, allocations: 1.236 MB / 1.122 GB, free: 5.285 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002037/0.9358, allocations: 0.651 MB / 1.123 GB, free: 4.625 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 3.667e-06/0.9358, allocations: 0 / 1.123 GB, free: 4.625 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.006085/0.9419, allocations: 1.692 MB / 1.125 GB, free: 2.926 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/0.942, allocations: 59.95 kB / 1.125 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002353/0.9444, allocations: 1.283 MB / 1.126 GB, free: 1.562 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001586/0.9445, allocations: 41.7 kB / 1.126 GB, free: 1.516 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007544/0.9453, allocations: 0.6542 MB / 1.127 GB, free: 0.8516 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003188/0.9456, allocations: 244.5 kB / 1.127 GB, free: 0.6094 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003751/0.946, allocations: 178.4 kB / 1.127 GB, free: 440 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.9462, allocations: 334 kB / 1.127 GB, free: 100 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/0.9478, allocations: 0.5317 MB / 1.128 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/0.9495, allocations: 0.7516 MB / 1.129 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003058/0.9526, allocations: 1.136 MB / 1.13 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.9526, allocations: 11.94 kB / 1.13 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003933/0.9566, allocations: 1.407 MB / 1.131 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.037e-05/0.9566, allocations: 37.7 kB / 1.131 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.9566, allocations: 0 / 1.131 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.9567, allocations: 15.92 kB / 1.131 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.9579, allocations: 259.9 kB / 1.131 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.447e-05/0.9579, allocations: 11.94 kB / 1.131 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.9598, allocations: 223 kB / 1.132 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.9599, allocations: 39.97 kB / 1.132 GB, free: 11.53 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002034/0.9619, allocations: 0.7907 MB / 1.132 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001846/0.9638, allocations: 0.7399 MB / 1.133 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003021/0.9668, allocations: 1.14 MB / 1.134 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.172e-06/0.9669, allocations: 0 / 1.134 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.003892/0.9708, allocations: 1.392 MB / 1.136 GB, free: 7.312 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.9708, allocations: 33.7 kB / 1.136 GB, free: 7.273 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.9708, allocations: 4 kB / 1.136 GB, free: 7.27 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.9708, allocations: 8 kB / 1.136 GB, free: 7.262 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.9722, allocations: 251.8 kB / 1.136 GB, free: 7.016 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.807e-05/0.9722, allocations: 15.92 kB / 1.136 GB, free: 7 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/0.9741, allocations: 215.2 kB / 1.136 GB, free: 6.789 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.9743, allocations: 39.98 kB / 1.136 GB, free: 6.75 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.0003942/0.9747, allocations: 232.1 kB / 1.136 GB, free: 6.516 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005567/0.9752, allocations: 142.2 kB / 1.137 GB, free: 6.375 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004057/0.9793, allocations: 1.458 MB / 1.138 GB, free: 4.898 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.855e-05/0.9793, allocations: 15.94 kB / 1.138 GB, free: 4.883 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.9794, allocations: 0 / 1.138 GB, free: 4.883 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003115/0.9825, allocations: 1.218 MB / 1.139 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00729/0.9898, allocations: 3.198 MB / 1.142 GB, free: 280 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/0.9898, allocations: 4.562 kB / 1.142 GB, free: 276 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/0.9911, allocations: 227.7 kB / 1.143 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.911e-05/0.9911, allocations: 8 kB / 1.143 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.031e-05/0.9912, allocations: 31.92 kB / 1.143 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.408e-05/0.9912, allocations: 12.03 kB / 1.143 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.817e-06/0.9913, allocations: 7.938 kB / 1.143 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005824/0.9971, allocations: 2.22 MB / 1.145 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009415/0.9981, allocations: 346.9 kB / 1.145 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003949/0.9985, allocations: 19.94 kB / 1.145 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/1, allocations: 159.8 kB / 1.145 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001974/1.001, allocations: 80.34 kB / 1.145 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/1.001, allocations: 35.97 kB / 1.145 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001717/1.002, allocations: 0.9129 MB / 1.146 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.01e-07/1.002, allocations: 0 / 1.146 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002931/1.005, allocations: 0.7953 MB / 1.147 GB, free: 11.34 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.00146/1.007, allocations: 0.5088 MB / 1.148 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006156/1.013, allocations: 1.992 MB / 1.149 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.013, allocations: 4.188 kB / 1.149 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002095/1.015, allocations: 0.6833 MB / 1.15 GB, free: 8.129 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005356/1.02, allocations: 0.7453 MB / 1.151 GB, free: 7.395 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008352/1.029, allocations: 3.385 MB / 1.154 GB, free: 3.918 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/1.03, allocations: 1.238 MB / 1.155 GB, free: 2.652 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002464/1.033, allocations: 367.5 kB / 1.156 GB, free: 2.289 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005794/1.033, allocations: 123.4 kB / 1.156 GB, free: 2.168 MB / 0.9044 GB Notification: Performance of SimCode: time 2.275e-06/1.033, allocations: 0 / 1.156 GB, free: 2.168 MB / 0.9044 GB Notification: Performance of Templates: time 0.05326/1.087, allocations: 30.13 MB / 1.185 GB, free: 4.43 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