Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001147/0.001147, allocations: 114.6 kB / 16.42 MB, free: 6.465 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.001161/0.001161, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.624/2.624, allocations: 472.7 MB / 0.746 GB, free: 500 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 55.91 kB / 1.07 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7417/0.7432, allocations: 159.9 MB / 1.226 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel): time 0.1015/0.8448, allocations: 115.9 MB / 1.34 GB, free: 9.273 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02706/0.8719, allocations: 21.5 MB / 1.361 GB, free: 3.715 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002932/0.8748, allocations: 91.44 kB / 1.361 GB, free: 3.625 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003242/0.8781, allocations: 1.382 MB / 1.362 GB, free: 2.234 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007619/0.8857, allocations: 3.277 MB / 1.365 GB, free: 14.95 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004703/0.8905, allocations: 2.071 MB / 1.367 GB, free: 12.89 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01036/0.9008, allocations: 9.904 MB / 1.377 GB, free: 2.965 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004659/0.9055, allocations: 4.184 MB / 1.381 GB, free: 14.71 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006498/0.912, allocations: 3.711 MB / 1.385 GB, free: 11 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004159/0.9162, allocations: 2.961 MB / 1.387 GB, free: 8.023 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0008239/0.917, allocations: 412 kB / 1.388 GB, free: 7.621 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004009/0.921, allocations: 1.837 MB / 1.39 GB, free: 5.781 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.9221, allocations: 1.102 MB / 1.391 GB, free: 4.676 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002704/0.9248, allocations: 2.294 MB / 1.393 GB, free: 2.371 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00784/0.9326, allocations: 7.056 MB / 1.4 GB, free: 11.29 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.9327, allocations: 0 / 1.4 GB, free: 11.29 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9327, allocations: 0 / 1.4 GB, free: 11.29 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.298e-05/0.9328, allocations: 0 / 1.4 GB, free: 11.29 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.008921/0.9417, allocations: 4.961 MB / 1.405 GB, free: 6.25 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.9417, allocations: 12.03 kB / 1.405 GB, free: 6.238 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/0.9523, allocations: 1.78 MB / 1.406 GB, free: 4.453 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007483/0.9598, allocations: 4.237 MB / 1.411 GB, free: 164 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003798/0.9603, allocations: 339.1 kB / 1.411 GB, free: 15.8 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005404/0.9608, allocations: 219.9 kB / 1.411 GB, free: 15.59 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008851/0.9697, allocations: 4.367 MB / 1.415 GB, free: 11.16 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.929e-05/0.9697, allocations: 3.938 kB / 1.415 GB, free: 11.15 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002801/0.97, allocations: 84 kB / 1.415 GB, free: 11.07 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.546e-05/0.9701, allocations: 52 kB / 1.416 GB, free: 11.02 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01222/0.9823, allocations: 5.545 MB / 1.421 GB, free: 5.469 MB / 1.139 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.02538/1.008, allocations: 15.74 MB / 1.436 GB, free: 5.098 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01029/1.018, allocations: 3.875 MB / 1.44 GB, free: 1.203 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004539/1.023, allocations: 2.112 MB / 1.442 GB, free: 15.08 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009184/1.024, allocations: 1.263 MB / 1.443 GB, free: 13.54 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004787/1.028, allocations: 2.163 MB / 1.445 GB, free: 11.36 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002441/1.031, allocations: 308.6 kB / 1.446 GB, free: 11.06 MB / 1.17 GB Notification: Performance of pre-optimization done (n=148): time 6.763e-06/1.031, allocations: 4 kB / 1.446 GB, free: 11.06 MB / 1.17 GB Notification: Performance of matching and sorting (n=148): time 0.01595/1.047, allocations: 6.369 MB / 1.452 GB, free: 4.637 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/1.047, allocations: 64.72 kB / 1.452 GB, free: 4.562 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006054/1.053, allocations: 4.031 MB / 1.456 GB, free: 0.5508 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.000502/1.053, allocations: 61.7 kB / 1.456 GB, free: 496 kB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00152/1.055, allocations: 1.552 MB / 1.458 GB, free: 14.92 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006549/1.056, allocations: 0.5345 MB / 1.458 GB, free: 14.38 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007473/1.056, allocations: 435.3 kB / 1.459 GB, free: 13.95 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 9.182e-05/1.057, allocations: 301.1 kB / 1.459 GB, free: 13.66 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004356/1.061, allocations: 1.999 MB / 1.461 GB, free: 11.65 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004813/1.066, allocations: 2.527 MB / 1.463 GB, free: 8.93 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008386/1.074, allocations: 4.049 MB / 1.467 GB, free: 4.75 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/1.074, allocations: 0 / 1.467 GB, free: 4.75 MB / 1.186 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.01159/1.086, allocations: 4.96 MB / 1.472 GB, free: 15.77 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.663e-05/1.086, allocations: 37.83 kB / 1.472 GB, free: 15.72 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/1.086, allocations: 12 kB / 1.472 GB, free: 15.71 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/1.087, allocations: 289.4 kB / 1.472 GB, free: 15.42 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003214/1.09, allocations: 0.6864 MB / 1.473 GB, free: 14.73 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/1.092, allocations: 1.374 MB / 1.474 GB, free: 13.31 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004018/1.096, allocations: 463.3 kB / 1.475 GB, free: 12.86 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003085/1.096, allocations: 99.92 kB / 1.475 GB, free: 12.76 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006165/1.102, allocations: 3.146 MB / 1.478 GB, free: 9.605 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004791/1.107, allocations: 2.515 MB / 1.48 GB, free: 6.902 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008512/1.115, allocations: 4.002 MB / 1.484 GB, free: 2.773 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.097e-06/1.115, allocations: 0 / 1.484 GB, free: 2.773 MB / 1.201 GB Notification: Performance of matching and sorting (n=221) (initialization_lambda0): time 0.0116/1.127, allocations: 4.823 MB / 1.489 GB, free: 13.93 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.695e-05/1.127, allocations: 37.69 kB / 1.489 GB, free: 13.88 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/1.127, allocations: 8.875 kB / 1.489 GB, free: 13.88 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005854/1.128, allocations: 181.6 kB / 1.489 GB, free: 13.69 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0032/1.131, allocations: 0.6864 MB / 1.49 GB, free: 13 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003883/1.135, allocations: 4.035 MB / 1.494 GB, free: 8.688 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004316/1.139, allocations: 479.5 kB / 1.494 GB, free: 8.219 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003485/1.14, allocations: 99.94 kB / 1.494 GB, free: 8.121 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 8 (chiPar.chi[2].tru.y,chiPar.chi[1].tru.y,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 (206): * Single equations (assignments): 201 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * 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.0007047/1.14, allocations: 299.6 kB / 1.495 GB, free: 7.82 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/1.141, allocations: 365.7 kB / 1.495 GB, free: 7.461 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/1.152, allocations: 4.605 MB / 1.5 GB, free: 2.855 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008705/1.161, allocations: 4.015 MB / 1.503 GB, free: 14.79 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/1.161, allocations: 0 / 1.503 GB, free: 14.79 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00247/1.163, allocations: 0.8577 MB / 1.504 GB, free: 13.91 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00112/1.165, allocations: 31.98 kB / 1.504 GB, free: 13.88 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003618/1.168, allocations: 403.4 kB / 1.505 GB, free: 13.48 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002994/1.168, allocations: 121.8 kB / 1.505 GB, free: 13.36 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01126/1.18, allocations: 4.524 MB / 1.509 GB, free: 8.82 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01484/1.195, allocations: 7.02 MB / 1.516 GB, free: 1.777 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004996/1.2, allocations: 2.037 MB / 1.518 GB, free: 15.74 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.007618/1.207, allocations: 2.843 MB / 1.521 GB, free: 12.92 MB / 1.248 GB Notification: Performance of Backend: time 1.754e-06/1.207, allocations: 0 / 1.521 GB, free: 12.92 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01708/1.224, allocations: 5.894 MB / 1.527 GB, free: 6.996 MB / 1.248 GB Notification: Performance of SimCode: time 0.01874/1.243, allocations: 8.736 MB / 1.535 GB, free: 14.23 MB / 1.264 GB Notification: Performance of Templates: time 0.721/1.964, allocations: 95.69 MB / 1.629 GB, free: 281.1 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.makefile (rm -f Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe ; mkfifo Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe >> ../files/Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.sim & ./Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_BaseClasses_Equipment_Validation_ElectricChillerParallel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches