Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001598/0.001598, allocations: 112.6 kB / 16.81 MB, free: 5.766 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.001733/0.001733, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.503/1.503, allocations: 225.6 MB / 244.2 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.957/2.957, allocations: 476.7 MB / 0.7556 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 65.45 kB / 1.097 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3861, allocations: 168.7 MB / 1.262 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.07382/0.4599, allocations: 61.06 MB / 1.322 GB, free: 15.64 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02266/0.4826, allocations: 13.22 MB / 1.335 GB, free: 2.391 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002949/0.4855, allocations: 67.62 kB / 1.335 GB, free: 2.324 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003388/0.4889, allocations: 1.005 MB / 1.336 GB, free: 1.312 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00868/0.4976, allocations: 2.438 MB / 1.338 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004862/0.5025, allocations: 1.602 MB / 1.34 GB, free: 13.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.007961/0.5104, allocations: 4.347 MB / 1.344 GB, free: 8.918 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002247/0.5127, allocations: 1.115 MB / 1.345 GB, free: 7.773 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004651/0.5173, allocations: 1.616 MB / 1.347 GB, free: 6.156 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00264/0.52, allocations: 1.264 MB / 1.348 GB, free: 4.887 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003478/0.5203, allocations: 148 kB / 1.348 GB, free: 4.742 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004284/0.5246, allocations: 1.497 MB / 1.349 GB, free: 3.242 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006648/0.5253, allocations: 446.1 kB / 1.35 GB, free: 2.805 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001576/0.5268, allocations: 0.9096 MB / 1.351 GB, free: 1.891 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00613/0.533, allocations: 2.802 MB / 1.353 GB, free: 15.08 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.533, allocations: 0 / 1.353 GB, free: 15.08 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.044e-06/0.533, allocations: 4 kB / 1.353 GB, free: 15.07 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.761e-05/0.533, allocations: 0 / 1.353 GB, free: 15.07 MB / 1.076 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.004586/0.5376, allocations: 2.242 MB / 1.356 GB, free: 12.76 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.5376, allocations: 8.031 kB / 1.356 GB, free: 12.75 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004472/0.5421, allocations: 0.6279 MB / 1.356 GB, free: 12.12 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003119/0.5452, allocations: 1.454 MB / 1.358 GB, free: 10.62 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002028/0.5454, allocations: 153.4 kB / 1.358 GB, free: 10.46 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002099/0.5456, allocations: 108 kB / 1.358 GB, free: 10.35 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003527/0.5492, allocations: 1.373 MB / 1.359 GB, free: 8.945 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/0.5492, allocations: 3.938 kB / 1.359 GB, free: 8.941 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.5493, allocations: 36 kB / 1.359 GB, free: 8.906 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.276e-05/0.5494, allocations: 24 kB / 1.359 GB, free: 8.883 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004296/0.5537, allocations: 1.429 MB / 1.361 GB, free: 7.449 MB / 1.076 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.009358/0.563, allocations: 5.565 MB / 1.366 GB, free: 1.523 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005804/0.5688, allocations: 1.345 MB / 1.367 GB, free: 160 kB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001864/0.5707, allocations: 0.6075 MB / 1.368 GB, free: 15.55 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001232/0.5719, allocations: 1.235 MB / 1.369 GB, free: 14.03 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002122/0.574, allocations: 0.6862 MB / 1.37 GB, free: 13.34 MB / 1.092 GB Notification: Performance of pre-optimization done (n=70): time 4.228e-06/0.5741, allocations: 4 kB / 1.37 GB, free: 13.33 MB / 1.092 GB Notification: Performance of matching and sorting (n=70): time 0.006682/0.5807, allocations: 1.767 MB / 1.372 GB, free: 11.56 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.5808, allocations: 63.95 kB / 1.372 GB, free: 11.48 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/0.583, allocations: 1.291 MB / 1.373 GB, free: 10.18 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001848/0.5832, allocations: 41.7 kB / 1.373 GB, free: 10.14 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008087/0.584, allocations: 0.6628 MB / 1.374 GB, free: 9.465 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003765/0.5844, allocations: 253.9 kB / 1.374 GB, free: 9.215 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003913/0.5848, allocations: 178.5 kB / 1.374 GB, free: 9.035 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.585, allocations: 337.9 kB / 1.374 GB, free: 8.699 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001783/0.5868, allocations: 0.5512 MB / 1.375 GB, free: 8.145 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001983/0.5887, allocations: 0.7754 MB / 1.376 GB, free: 7.289 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003457/0.5922, allocations: 1.191 MB / 1.377 GB, free: 6.051 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.5922, allocations: 4 kB / 1.377 GB, free: 6.047 MB / 1.092 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004401/0.5966, allocations: 1.455 MB / 1.378 GB, free: 4.582 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 5.977e-05/0.5967, allocations: 45.62 kB / 1.378 GB, free: 4.531 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.5967, allocations: 8.312 kB / 1.378 GB, free: 4.523 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.5967, allocations: 8 kB / 1.378 GB, free: 4.516 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.5981, allocations: 263.5 kB / 1.379 GB, free: 4.258 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.219e-05/0.5981, allocations: 8 kB / 1.379 GB, free: 4.25 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.5998, allocations: 203.2 kB / 1.379 GB, free: 4.051 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.354e-05/0.5999, allocations: 35.98 kB / 1.379 GB, free: 4.016 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002228/0.6021, allocations: 0.8102 MB / 1.38 GB, free: 3.199 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001929/0.6041, allocations: 0.7673 MB / 1.38 GB, free: 2.348 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00338/0.6074, allocations: 1.175 MB / 1.381 GB, free: 1.125 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.292e-06/0.6074, allocations: 4 kB / 1.381 GB, free: 1.121 MB / 1.092 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.00434/0.6118, allocations: 1.455 MB / 1.383 GB, free: 15.65 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/0.6118, allocations: 33.7 kB / 1.383 GB, free: 15.61 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.6118, allocations: 4 kB / 1.383 GB, free: 15.61 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.6118, allocations: 4 kB / 1.383 GB, free: 15.61 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.6132, allocations: 267.9 kB / 1.383 GB, free: 15.34 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.6132, allocations: 11.94 kB / 1.383 GB, free: 15.33 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/0.6149, allocations: 187.5 kB / 1.383 GB, free: 15.15 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-05/0.615, allocations: 43.97 kB / 1.383 GB, free: 15.11 MB / 1.107 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.0003623/0.6154, allocations: 228 kB / 1.384 GB, free: 14.88 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003108/0.6157, allocations: 155 kB / 1.384 GB, free: 14.72 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004361/0.6201, allocations: 1.512 MB / 1.385 GB, free: 13.19 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003527/0.6236, allocations: 1.273 MB / 1.387 GB, free: 11.89 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.6236, allocations: 3.938 kB / 1.387 GB, free: 11.89 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008942/0.6245, allocations: 339.8 kB / 1.387 GB, free: 11.54 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002163/0.6247, allocations: 12 kB / 1.387 GB, free: 11.52 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/0.626, allocations: 143.8 kB / 1.387 GB, free: 11.38 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.6262, allocations: 56.58 kB / 1.387 GB, free: 11.33 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004732/0.6309, allocations: 1.457 MB / 1.388 GB, free: 9.863 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006186/0.6371, allocations: 2.28 MB / 1.391 GB, free: 7.559 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001788/0.6389, allocations: 0.5946 MB / 1.391 GB, free: 6.965 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001481/0.6403, allocations: 0.8884 MB / 1.392 GB, free: 6.078 MB / 1.107 GB Notification: Performance of Backend: time 3.7e-07/0.6403, allocations: 0 / 1.392 GB, free: 6.078 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.006703/0.6471, allocations: 2.028 MB / 1.394 GB, free: 4.031 MB / 1.107 GB Notification: Performance of SimCode: time 0.006565/0.6536, allocations: 3.252 MB / 1.397 GB, free: 0.7344 MB / 1.107 GB Notification: Performance of Templates: time 0.07106/0.7247, allocations: 38.39 MB / 1.435 GB, free: 10.68 MB / 1.154 GB make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Examples_ElectricEIR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches