Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.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.ElectricEIR_AirCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul|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.ElectricEIR_AirCooled") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul|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.ElectricEIR_AirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 111.4 kB / 16.42 MB, free: 6.445 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.001662/0.001662, allocations: 189.4 kB / 17.35 MB, free: 5.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.395/1.395, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.216/2.216, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 67.89 kB / 0.9516 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8268/0.8282, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled): time 0.2647/1.093, allocations: 227.3 MB / 1.311 GB, free: 10.25 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02985/1.123, allocations: 20.64 MB / 1.331 GB, free: 5.539 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003531/1.126, allocations: 87.5 kB / 1.331 GB, free: 5.453 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004474/1.131, allocations: 1.335 MB / 1.332 GB, free: 4.109 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01129/1.142, allocations: 3.525 MB / 1.336 GB, free: 0.5742 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.008039/1.15, allocations: 2.586 MB / 1.338 GB, free: 14 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00864/1.159, allocations: 5.985 MB / 1.344 GB, free: 8.004 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00441/1.163, allocations: 2.544 MB / 1.346 GB, free: 5.402 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006391/1.17, allocations: 2.517 MB / 1.349 GB, free: 2.891 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003427/1.173, allocations: 1.846 MB / 1.351 GB, free: 1.039 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001031/1.174, allocations: 288 kB / 1.351 GB, free: 0.7578 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007922/1.182, allocations: 2.901 MB / 1.354 GB, free: 13.85 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001868/1.184, allocations: 0.8722 MB / 1.355 GB, free: 12.98 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.004316/1.189, allocations: 1.59 MB / 1.356 GB, free: 11.38 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.009956/1.199, allocations: 5.094 MB / 1.361 GB, free: 6.27 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/1.199, allocations: 4 kB / 1.361 GB, free: 6.266 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.903e-06/1.199, allocations: 0 / 1.361 GB, free: 6.266 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001572/1.199, allocations: 0 / 1.361 GB, free: 6.266 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.01007/1.209, allocations: 3.581 MB / 1.365 GB, free: 2.605 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/1.209, allocations: 8.031 kB / 1.365 GB, free: 2.598 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006708/1.216, allocations: 0.9992 MB / 1.366 GB, free: 1.594 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006228/1.222, allocations: 2.082 MB / 1.368 GB, free: 15.43 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004254/1.222, allocations: 223.2 kB / 1.368 GB, free: 15.2 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008719/1.223, allocations: 203.7 kB / 1.368 GB, free: 15.01 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00697/1.23, allocations: 2.469 MB / 1.371 GB, free: 12.48 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.404e-05/1.23, allocations: 7.938 kB / 1.371 GB, free: 12.48 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000349/1.231, allocations: 83.98 kB / 1.371 GB, free: 12.39 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.848e-05/1.231, allocations: 79.77 kB / 1.371 GB, free: 12.32 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006385/1.237, allocations: 2.727 MB / 1.373 GB, free: 9.586 MB / 1.107 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.015/1.252, allocations: 8.849 MB / 1.382 GB, free: 312 kB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007174/1.259, allocations: 2.389 MB / 1.384 GB, free: 13.87 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002302/1.262, allocations: 1.036 MB / 1.385 GB, free: 12.83 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007892/1.262, allocations: 0.8792 MB / 1.386 GB, free: 11.77 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002947/1.265, allocations: 1.312 MB / 1.388 GB, free: 10.43 MB / 1.123 GB Notification: Performance of pre-optimization done (n=170): time 4.789e-06/1.265, allocations: 0 / 1.388 GB, free: 10.43 MB / 1.123 GB Notification: Performance of matching and sorting (n=170): time 0.009304/1.275, allocations: 3.227 MB / 1.391 GB, free: 7.18 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/1.275, allocations: 209.9 kB / 1.391 GB, free: 6.934 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003532/1.278, allocations: 1.879 MB / 1.393 GB, free: 5.023 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002425/1.279, allocations: 65.7 kB / 1.393 GB, free: 4.953 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001175/1.28, allocations: 1.041 MB / 1.394 GB, free: 3.898 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006436/1.281, allocations: 0.5661 MB / 1.394 GB, free: 3.324 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007339/1.281, allocations: 339.3 kB / 1.395 GB, free: 2.984 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.281, allocations: 305.1 kB / 1.395 GB, free: 2.684 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002516/1.284, allocations: 0.9025 MB / 1.396 GB, free: 1.777 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002819/1.287, allocations: 1.197 MB / 1.397 GB, free: 0.5 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00482/1.292, allocations: 1.95 MB / 1.399 GB, free: 14.51 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/1.292, allocations: 0 / 1.399 GB, free: 14.51 MB / 1.139 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.006745/1.298, allocations: 2.465 MB / 1.401 GB, free: 12.02 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.955e-05/1.298, allocations: 33.7 kB / 1.401 GB, free: 11.98 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/1.298, allocations: 4 kB / 1.401 GB, free: 11.98 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006088/1.299, allocations: 88.94 kB / 1.401 GB, free: 11.89 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002341/1.301, allocations: 475.3 kB / 1.402 GB, free: 11.43 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00249/1.304, allocations: 2.247 MB / 1.404 GB, free: 9.012 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/1.307, allocations: 282.4 kB / 1.404 GB, free: 8.734 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/1.307, allocations: 75.94 kB / 1.404 GB, free: 8.66 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003241/1.31, allocations: 1.324 MB / 1.406 GB, free: 7.332 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002642/1.313, allocations: 1.204 MB / 1.407 GB, free: 6.039 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004622/1.317, allocations: 1.942 MB / 1.409 GB, free: 4.055 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.26e-06/1.317, allocations: 0 / 1.409 GB, free: 4.055 MB / 1.139 GB Notification: Performance of matching and sorting (n=212) (initialization_lambda0): time 0.006434/1.324, allocations: 2.449 MB / 1.411 GB, free: 1.586 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.167e-05/1.324, allocations: 35.73 kB / 1.411 GB, free: 1.547 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/1.324, allocations: 7.938 kB / 1.411 GB, free: 1.539 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000551/1.324, allocations: 88.98 kB / 1.411 GB, free: 1.449 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002157/1.327, allocations: 459.4 kB / 1.412 GB, free: 1 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/1.329, allocations: 1.65 MB / 1.413 GB, free: 15.2 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/1.331, allocations: 267.2 kB / 1.414 GB, free: 14.94 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002409/1.332, allocations: 71.95 kB / 1.414 GB, free: 14.87 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 23 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,chi.on,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (208): * Single equations (assignments): 204 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006317/1.332, allocations: 299.2 kB / 1.414 GB, free: 14.57 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008253/1.333, allocations: 237.1 kB / 1.414 GB, free: 14.34 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006945/1.34, allocations: 2.757 MB / 1.417 GB, free: 11.56 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005226/1.345, allocations: 2.394 MB / 1.419 GB, free: 9.074 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/1.345, allocations: 0 / 1.419 GB, free: 9.074 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/1.347, allocations: 0.56 MB / 1.42 GB, free: 8.492 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005688/1.347, allocations: 35.98 kB / 1.42 GB, free: 8.457 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002216/1.35, allocations: 189.2 kB / 1.42 GB, free: 8.273 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002806/1.35, allocations: 137.8 kB / 1.42 GB, free: 8.141 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007112/1.357, allocations: 2.534 MB / 1.423 GB, free: 5.594 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0083/1.365, allocations: 3.757 MB / 1.426 GB, free: 1.82 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002393/1.368, allocations: 1.058 MB / 1.427 GB, free: 0.7578 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002614/1.37, allocations: 1.289 MB / 1.429 GB, free: 15.45 MB / 1.17 GB Notification: Performance of Backend: time 7.02e-07/1.37, allocations: 0 / 1.429 GB, free: 15.45 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01259/1.383, allocations: 4.143 MB / 1.433 GB, free: 11.51 MB / 1.17 GB Notification: Performance of SimCode: time 0.01018/1.393, allocations: 5.205 MB / 1.438 GB, free: 6.273 MB / 1.17 GB Notification: Performance of Templates: time 0.1032/1.496, allocations: 64.19 MB / 1.5 GB, free: 6.641 MB / 1.232 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.sim & ./Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches