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.00181/0.00181, allocations: 110.4 kB / 16.41 MB, free: 6.512 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.00213/0.00213, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.449/1.449, allocations: 222.9 MB / 241 MB, free: 15.16 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.524/2.524, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 63.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081/1.083, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06473/1.148, allocations: 60.63 MB / 1.227 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0217/1.169, allocations: 13.18 MB / 1.239 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003345/1.173, allocations: 71.56 kB / 1.239 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003521/1.177, allocations: 0.9897 MB / 1.24 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.008197/1.185, allocations: 2.447 MB / 1.243 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005035/1.19, allocations: 1.577 MB / 1.244 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.007251/1.197, allocations: 4.337 MB / 1.249 GB, free: 368 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00299/1.2, allocations: 1.349 MB / 1.25 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004671/1.205, allocations: 1.607 MB / 1.252 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002658/1.207, allocations: 1.206 MB / 1.253 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006307/1.208, allocations: 140 kB / 1.253 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004281/1.212, allocations: 1.478 MB / 1.254 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0008647/1.213, allocations: 418.5 kB / 1.255 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002097/1.215, allocations: 0.9095 MB / 1.256 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006542/1.222, allocations: 2.787 MB / 1.258 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.222, allocations: 0 / 1.258 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.567e-06/1.222, allocations: 0 / 1.258 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.899e-05/1.222, allocations: 3.938 kB / 1.258 GB, free: 6.426 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.005887/1.228, allocations: 2.182 MB / 1.26 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/1.228, allocations: 12.91 kB / 1.26 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004008/1.232, allocations: 0.5526 MB / 1.261 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003483/1.236, allocations: 1.449 MB / 1.262 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/1.236, allocations: 149.3 kB / 1.263 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003124/1.236, allocations: 108 kB / 1.263 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003547/1.24, allocations: 1.323 MB / 1.264 GB, free: 500 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.249e-05/1.24, allocations: 3.938 kB / 1.264 GB, free: 496 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/1.24, allocations: 36 kB / 1.264 GB, free: 460 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.925e-05/1.24, allocations: 27.94 kB / 1.264 GB, free: 432 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003964/1.244, allocations: 1.339 MB / 1.265 GB, free: 15.08 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.009166/1.253, allocations: 5.446 MB / 1.271 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005686/1.259, allocations: 1.348 MB / 1.272 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00171/1.261, allocations: 0.6086 MB / 1.273 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/1.262, allocations: 1.236 MB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001998/1.264, allocations: 0.651 MB / 1.274 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=70): time 5.09e-06/1.264, allocations: 0 / 1.274 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70): time 0.005586/1.269, allocations: 1.691 MB / 1.276 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/1.269, allocations: 67.95 kB / 1.276 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00224/1.272, allocations: 1.287 MB / 1.277 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001372/1.272, allocations: 49.69 kB / 1.277 GB, free: 2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006876/1.272, allocations: 0.6503 MB / 1.278 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000341/1.273, allocations: 236.5 kB / 1.278 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003775/1.273, allocations: 178.4 kB / 1.278 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001468/1.273, allocations: 337.9 kB / 1.279 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/1.275, allocations: 0.5278 MB / 1.279 GB, free: 60 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/1.277, allocations: 0.7516 MB / 1.28 GB, free: 15.23 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003321/1.28, allocations: 1.14 MB / 1.281 GB, free: 14.04 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/1.28, allocations: 0 / 1.281 GB, free: 14.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004156/1.284, allocations: 1.403 MB / 1.282 GB, free: 12.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.848e-05/1.285, allocations: 37.7 kB / 1.282 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/1.285, allocations: 4 kB / 1.282 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/1.285, allocations: 8.312 kB / 1.282 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/1.286, allocations: 259.5 kB / 1.283 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.567e-05/1.286, allocations: 12 kB / 1.283 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/1.288, allocations: 187 kB / 1.283 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/1.288, allocations: 39.98 kB / 1.283 GB, free: 12.07 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002103/1.29, allocations: 0.7907 MB / 1.284 GB, free: 11.28 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001759/1.292, allocations: 0.74 MB / 1.284 GB, free: 10.46 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003154/1.295, allocations: 1.132 MB / 1.286 GB, free: 9.273 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.263e-06/1.295, allocations: 4 kB / 1.286 GB, free: 9.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.003941/1.299, allocations: 1.399 MB / 1.287 GB, free: 7.855 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/1.299, allocations: 37.69 kB / 1.287 GB, free: 7.812 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/1.299, allocations: 4 kB / 1.287 GB, free: 7.809 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/1.299, allocations: 4 kB / 1.287 GB, free: 7.805 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/1.3, allocations: 255.7 kB / 1.287 GB, free: 7.555 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-05/1.3, allocations: 11.94 kB / 1.287 GB, free: 7.543 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/1.302, allocations: 183.2 kB / 1.287 GB, free: 7.363 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/1.302, allocations: 43.92 kB / 1.287 GB, free: 7.32 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.0003722/1.302, allocations: 224.1 kB / 1.288 GB, free: 7.094 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004611/1.303, allocations: 150.2 kB / 1.288 GB, free: 6.945 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00412/1.307, allocations: 1.454 MB / 1.289 GB, free: 5.469 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003221/1.31, allocations: 1.226 MB / 1.29 GB, free: 4.215 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.31, allocations: 4 kB / 1.29 GB, free: 4.211 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007198/1.311, allocations: 335 kB / 1.291 GB, free: 3.863 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002947/1.311, allocations: 15.98 kB / 1.291 GB, free: 3.848 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/1.313, allocations: 119.9 kB / 1.291 GB, free: 3.73 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/1.313, allocations: 56.58 kB / 1.291 GB, free: 3.676 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004455/1.317, allocations: 1.41 MB / 1.292 GB, free: 2.258 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005481/1.323, allocations: 2.201 MB / 1.294 GB, free: 32 kB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001641/1.324, allocations: 0.6024 MB / 1.295 GB, free: 15.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001537/1.326, allocations: 0.8923 MB / 1.296 GB, free: 14.54 MB / 1.029 GB Notification: Performance of Backend: time 1.192e-06/1.326, allocations: 0 / 1.296 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.006143/1.332, allocations: 2.055 MB / 1.298 GB, free: 12.47 MB / 1.029 GB Notification: Performance of SimCode: time 0.006361/1.338, allocations: 3.186 MB / 1.301 GB, free: 9.242 MB / 1.029 GB Notification: Performance of Templates: time 0.06272/1.401, allocations: 37.22 MB / 1.337 GB, free: 4.359 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