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.001654/0.00166, allocations: 114.7 kB / 16.42 MB, free: 6.508 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.002159/0.002159, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.509/1.509, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.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.614/2.614, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001637, allocations: 63.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052/1.053, allocations: 151.6 MB / 1.167 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06029/1.114, allocations: 60.63 MB / 1.227 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02123/1.135, allocations: 13.19 MB / 1.239 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00315/1.138, allocations: 75.5 kB / 1.239 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002988/1.141, allocations: 0.986 MB / 1.24 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007131/1.148, allocations: 2.427 MB / 1.243 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004779/1.153, allocations: 1.593 MB / 1.244 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.008445/1.162, allocations: 4.325 MB / 1.249 GB, free: 420 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002863/1.165, allocations: 1.353 MB / 1.25 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004742/1.169, allocations: 1.611 MB / 1.252 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003024/1.172, allocations: 1.209 MB / 1.253 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006673/1.173, allocations: 140 kB / 1.253 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004512/1.178, allocations: 1.474 MB / 1.254 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0008824/1.179, allocations: 414.4 kB / 1.255 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002222/1.181, allocations: 0.9212 MB / 1.256 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007544/1.188, allocations: 2.788 MB / 1.258 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/1.188, allocations: 7.938 kB / 1.258 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.297e-06/1.188, allocations: 0 / 1.258 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.503e-05/1.188, allocations: 0 / 1.258 GB, free: 6.457 MB / 0.9825 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.006364/1.195, allocations: 2.242 MB / 1.26 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/1.195, allocations: 8.922 kB / 1.26 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00387/1.199, allocations: 0.5615 MB / 1.261 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004039/1.203, allocations: 1.47 MB / 1.262 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002475/1.203, allocations: 149.3 kB / 1.263 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003382/1.204, allocations: 100 kB / 1.263 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003726/1.207, allocations: 1.323 MB / 1.264 GB, free: 452 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.977e-05/1.207, allocations: 3.953 kB / 1.264 GB, free: 448 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001945/1.208, allocations: 40 kB / 1.264 GB, free: 408 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.176e-05/1.208, allocations: 28 kB / 1.264 GB, free: 380 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004216/1.212, allocations: 1.335 MB / 1.265 GB, free: 15.04 MB / 0.9981 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.01423/1.226, allocations: 5.466 MB / 1.271 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/1.237, allocations: 1.341 MB / 1.272 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003419/1.24, allocations: 0.6008 MB / 1.273 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001779/1.242, allocations: 1.24 MB / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003657/1.246, allocations: 0.655 MB / 1.274 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=70): time 7.875e-06/1.246, allocations: 0 / 1.274 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70): time 0.01019/1.256, allocations: 1.696 MB / 1.276 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.732e-05/1.256, allocations: 63.89 kB / 1.276 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004407/1.26, allocations: 1.291 MB / 1.277 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003651/1.261, allocations: 49.69 kB / 1.277 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001128/1.262, allocations: 0.6473 MB / 1.278 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000685/1.263, allocations: 257.8 kB / 1.278 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008327/1.264, allocations: 174.5 kB / 1.279 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002759/1.264, allocations: 345.9 kB / 1.279 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00306/1.267, allocations: 0.52 MB / 1.279 GB, free: 15.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003457/1.27, allocations: 0.7556 MB / 1.28 GB, free: 15.14 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006263/1.277, allocations: 1.144 MB / 1.281 GB, free: 13.95 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/1.277, allocations: 0 / 1.281 GB, free: 13.95 MB / 1.014 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.007965/1.285, allocations: 1.412 MB / 1.283 GB, free: 12.52 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.354e-05/1.285, allocations: 37.77 kB / 1.283 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/1.285, allocations: 4 kB / 1.283 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.331e-05/1.285, allocations: 12 kB / 1.283 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002462/1.287, allocations: 263.5 kB / 1.283 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.2e-05/1.288, allocations: 4 kB / 1.283 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003175/1.291, allocations: 187.3 kB / 1.283 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002569/1.291, allocations: 39.97 kB / 1.283 GB, free: 11.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003987/1.295, allocations: 0.7868 MB / 1.284 GB, free: 11.19 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003664/1.299, allocations: 0.7503 MB / 1.285 GB, free: 10.36 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006305/1.305, allocations: 1.14 MB / 1.286 GB, free: 9.168 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.297e-06/1.305, allocations: 0 / 1.286 GB, free: 9.168 MB / 1.014 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.007368/1.313, allocations: 1.404 MB / 1.287 GB, free: 7.75 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.97e-05/1.313, allocations: 37.69 kB / 1.287 GB, free: 7.707 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/1.313, allocations: 7.938 kB / 1.287 GB, free: 7.699 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/1.313, allocations: 4 kB / 1.287 GB, free: 7.695 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002137/1.315, allocations: 259.9 kB / 1.287 GB, free: 7.441 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-05/1.315, allocations: 11.94 kB / 1.287 GB, free: 7.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002468/1.317, allocations: 175.5 kB / 1.288 GB, free: 7.258 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002092/1.318, allocations: 35.98 kB / 1.288 GB, free: 7.223 MB / 1.014 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.0004752/1.318, allocations: 232.1 kB / 1.288 GB, free: 6.988 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007119/1.319, allocations: 155 kB / 1.288 GB, free: 6.836 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005059/1.324, allocations: 1.45 MB / 1.289 GB, free: 5.363 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003297/1.327, allocations: 1.234 MB / 1.291 GB, free: 4.102 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/1.327, allocations: 0 / 1.291 GB, free: 4.102 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/1.328, allocations: 339.8 kB / 1.291 GB, free: 3.75 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005613/1.329, allocations: 19.98 kB / 1.291 GB, free: 3.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001623/1.331, allocations: 119.9 kB / 1.291 GB, free: 3.613 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/1.331, allocations: 56.58 kB / 1.291 GB, free: 3.559 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004532/1.335, allocations: 1.414 MB / 1.292 GB, free: 2.137 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005749/1.341, allocations: 2.202 MB / 1.295 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001596/1.343, allocations: 0.6063 MB / 1.295 GB, free: 15.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001748/1.345, allocations: 0.8962 MB / 1.296 GB, free: 14.41 MB / 1.029 GB Notification: Performance of Backend: time 4e-07/1.345, allocations: 0 / 1.296 GB, free: 14.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.006814/1.351, allocations: 2.042 MB / 1.298 GB, free: 12.36 MB / 1.029 GB Notification: Performance of SimCode: time 0.007274/1.359, allocations: 3.235 MB / 1.301 GB, free: 9.074 MB / 1.029 GB Notification: Performance of Templates: time 0.06134/1.42, allocations: 37.22 MB / 1.338 GB, free: 4.191 MB / 1.061 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches