Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.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.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chiPar.chi.1..TSet|chiPar.chi.1..TEvaEnt|chiPar.chi.1..TEvaLvg|chiPar.chi.1..TConEnt|chiPar.chi.1..TConLvg|chiPar.chi.2..TSet|chiPar.chi.2..TEvaEnt|chiPar.chi.2..TEvaLvg|chiPar.chi.2..TConEnt|chiPar.chi.2..TConLvg|chiPar.chi.2..PLR1|chiPar.chi.2..PLR2|chiPar.chi.2..CR|chiPar.chi.1..COP|chiPar.chi.2..COP",fileNamePrefix="Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel") translateModel(Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chiPar.chi.1..TSet|chiPar.chi.1..TEvaEnt|chiPar.chi.1..TEvaLvg|chiPar.chi.1..TConEnt|chiPar.chi.1..TConLvg|chiPar.chi.2..TSet|chiPar.chi.2..TEvaEnt|chiPar.chi.2..TEvaLvg|chiPar.chi.2..TConEnt|chiPar.chi.2..TConLvg|chiPar.chi.2..PLR1|chiPar.chi.2..PLR2|chiPar.chi.2..CR|chiPar.chi.1..COP|chiPar.chi.2..COP",fileNamePrefix="Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 113.3 kB / 16.42 MB, free: 6.441 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.001319/0.001319, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.08 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.141/2.141, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.89 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6774/0.6787, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel): time 0.1084/0.7871, allocations: 115.7 MB / 1.202 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03062/0.8177, allocations: 21.46 MB / 1.223 GB, free: 304 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003599/0.8214, allocations: 88.75 kB / 1.223 GB, free: 268 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003988/0.8254, allocations: 1.436 MB / 1.224 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.008768/0.8342, allocations: 3.291 MB / 1.227 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00897/0.8432, allocations: 3.458 MB / 1.231 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01366/0.8569, allocations: 10.08 MB / 1.24 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006237/0.8632, allocations: 4.228 MB / 1.245 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009012/0.8722, allocations: 3.79 MB / 1.248 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005575/0.8778, allocations: 2.988 MB / 1.251 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001509/0.8793, allocations: 416 kB / 1.252 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00587/0.8852, allocations: 1.935 MB / 1.254 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.00186/0.8871, allocations: 1.137 MB / 1.255 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.005246/0.8924, allocations: 2.345 MB / 1.257 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.9033, allocations: 7.257 MB / 1.264 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.9033, allocations: 0 / 1.264 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9033, allocations: 3.938 kB / 1.264 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001567/0.9035, allocations: 0 / 1.264 GB, free: 10.31 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.0113/0.9148, allocations: 5.003 MB / 1.269 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.9148, allocations: 8.031 kB / 1.269 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01111/0.926, allocations: 2.004 MB / 1.271 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008178/0.9342, allocations: 4.249 MB / 1.275 GB, free: 14.9 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003303/0.9345, allocations: 339.2 kB / 1.275 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005634/0.9351, allocations: 227.9 kB / 1.276 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009413/0.9445, allocations: 4.438 MB / 1.28 GB, free: 9.805 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.307e-05/0.9446, allocations: 0 / 1.28 GB, free: 9.805 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000308/0.9449, allocations: 87.98 kB / 1.28 GB, free: 9.719 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.92e-05/0.945, allocations: 56 kB / 1.28 GB, free: 9.664 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01228/0.9573, allocations: 5.256 MB / 1.285 GB, free: 4.402 MB / 1.014 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.02641/0.9837, allocations: 16.38 MB / 1.301 GB, free: 3.379 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/0.9949, allocations: 4.125 MB / 1.305 GB, free: 15.23 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005354/1, allocations: 2.272 MB / 1.307 GB, free: 12.95 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008994/1.001, allocations: 1.256 MB / 1.309 GB, free: 11.42 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005533/1.007, allocations: 2.374 MB / 1.311 GB, free: 9.031 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00351/1.01, allocations: 0.5488 MB / 1.311 GB, free: 8.48 MB / 1.045 GB Notification: Performance of pre-optimization done (n=154): time 6.853e-06/1.01, allocations: 0 / 1.311 GB, free: 8.48 MB / 1.045 GB Notification: Performance of matching and sorting (n=154): time 0.018/1.028, allocations: 6.843 MB / 1.318 GB, free: 1.582 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/1.028, allocations: 234.9 kB / 1.318 GB, free: 1.301 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006044/1.034, allocations: 4.159 MB / 1.322 GB, free: 13.11 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000438/1.035, allocations: 65.7 kB / 1.323 GB, free: 13.04 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001568/1.037, allocations: 1.574 MB / 1.324 GB, free: 11.46 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006195/1.037, allocations: 0.5315 MB / 1.325 GB, free: 10.92 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008809/1.038, allocations: 499 kB / 1.325 GB, free: 10.43 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001073/1.038, allocations: 305.1 kB / 1.325 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005376/1.044, allocations: 2.206 MB / 1.327 GB, free: 7.914 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00589/1.049, allocations: 2.784 MB / 1.33 GB, free: 4.926 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/1.06, allocations: 4.391 MB / 1.334 GB, free: 424 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/1.06, allocations: 0 / 1.334 GB, free: 424 kB / 1.061 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.01347/1.073, allocations: 5.395 MB / 1.34 GB, free: 10.99 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/1.073, allocations: 37.69 kB / 1.34 GB, free: 10.95 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.912e-05/1.074, allocations: 12 kB / 1.34 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/1.075, allocations: 297.5 kB / 1.34 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003947/1.079, allocations: 0.7527 MB / 1.341 GB, free: 9.887 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/1.08, allocations: 1.37 MB / 1.342 GB, free: 8.465 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004497/1.085, allocations: 467.4 kB / 1.343 GB, free: 8.008 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003464/1.085, allocations: 115.9 kB / 1.343 GB, free: 7.895 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007132/1.092, allocations: 3.4 MB / 1.346 GB, free: 4.488 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005678/1.098, allocations: 2.757 MB / 1.349 GB, free: 1.527 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01002/1.108, allocations: 4.361 MB / 1.353 GB, free: 13.05 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.753e-06/1.108, allocations: 0 / 1.353 GB, free: 13.05 MB / 1.092 GB Notification: Performance of matching and sorting (n=237) (initialization_lambda0): time 0.01268/1.12, allocations: 5.262 MB / 1.358 GB, free: 7.758 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/1.12, allocations: 37.7 kB / 1.358 GB, free: 7.715 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.579e-05/1.121, allocations: 15.98 kB / 1.358 GB, free: 7.699 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005435/1.121, allocations: 178.1 kB / 1.358 GB, free: 7.52 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00374/1.125, allocations: 0.7527 MB / 1.359 GB, free: 6.766 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003903/1.129, allocations: 4.015 MB / 1.363 GB, free: 2.473 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00488/1.134, allocations: 492.1 kB / 1.363 GB, free: 1.988 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004136/1.134, allocations: 111.9 kB / 1.364 GB, free: 1.879 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 6 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,chiPar.on[2],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (218): * Single equations (assignments): 209 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 2 systems {(3,4), (3,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0007579/1.135, allocations: 303.7 kB / 1.364 GB, free: 1.574 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001201/1.136, allocations: 359.5 kB / 1.364 GB, free: 1.219 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01199/1.148, allocations: 4.893 MB / 1.369 GB, free: 12.32 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009654/1.158, allocations: 4.222 MB / 1.373 GB, free: 8.043 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/1.158, allocations: 0 / 1.373 GB, free: 8.043 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002402/1.16, allocations: 0.8634 MB / 1.374 GB, free: 7.156 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008622/1.161, allocations: 39.92 kB / 1.374 GB, free: 7.117 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003511/1.165, allocations: 415.2 kB / 1.374 GB, free: 6.711 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002788/1.165, allocations: 133.8 kB / 1.375 GB, free: 6.582 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01237/1.177, allocations: 4.82 MB / 1.379 GB, free: 1.746 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01543/1.193, allocations: 7.424 MB / 1.386 GB, free: 10.3 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004534/1.197, allocations: 2.176 MB / 1.389 GB, free: 8.121 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00464/1.202, allocations: 2.932 MB / 1.391 GB, free: 5.176 MB / 1.123 GB Notification: Performance of Backend: time 4.31e-07/1.202, allocations: 0 / 1.391 GB, free: 5.176 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01582/1.218, allocations: 6.509 MB / 1.398 GB, free: 14.61 MB / 1.139 GB Notification: Performance of SimCode: time 0.01592/1.234, allocations: 8.988 MB / 1.407 GB, free: 5.602 MB / 1.139 GB Notification: Performance of Templates: time 0.15/1.384, allocations: 102.1 MB / 1.506 GB, free: 256 kB / 1.232 GB make -j1 -f Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.makefile (rm -f Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe ; mkfifo Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe >> ../files/Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.sim & ./Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_BaseClasses_Equipment_Validation_ElectricChillerParallel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches