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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001288/0.001288, allocations: 108.5 kB / 16.41 MB, free: 6.48 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.001349/0.001349, allocations: 196.3 kB / 17.35 MB, free: 5.75 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.348/1.348, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.53/2.53, allocations: 461.7 MB / 0.7352 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 59.91 kB / 1.054 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8826/0.884, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel): time 0.1176/1.002, allocations: 115.9 MB / 1.321 GB, free: 9.379 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03059/1.032, allocations: 21.49 MB / 1.342 GB, free: 3.828 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003989/1.036, allocations: 91.44 kB / 1.342 GB, free: 3.738 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004792/1.041, allocations: 1.343 MB / 1.344 GB, free: 2.387 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01098/1.052, allocations: 3.121 MB / 1.347 GB, free: 15.25 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005875/1.058, allocations: 2.08 MB / 1.349 GB, free: 13.19 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01356/1.072, allocations: 9.895 MB / 1.359 GB, free: 3.27 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006425/1.078, allocations: 4.182 MB / 1.363 GB, free: 15.02 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008689/1.087, allocations: 3.625 MB / 1.366 GB, free: 11.4 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005316/1.092, allocations: 2.961 MB / 1.369 GB, free: 8.43 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001421/1.094, allocations: 412 kB / 1.369 GB, free: 8.027 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005183/1.099, allocations: 1.825 MB / 1.371 GB, free: 6.199 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001785/1.101, allocations: 1.11 MB / 1.372 GB, free: 5.086 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.004325/1.105, allocations: 2.298 MB / 1.375 GB, free: 2.777 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.009613/1.115, allocations: 7.019 MB / 1.381 GB, free: 11.74 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/1.115, allocations: 0 / 1.381 GB, free: 11.74 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.843e-06/1.115, allocations: 3.938 kB / 1.381 GB, free: 11.73 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001905/1.115, allocations: 0 / 1.381 GB, free: 11.73 MB / 1.107 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.0117/1.127, allocations: 4.837 MB / 1.386 GB, free: 6.82 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/1.127, allocations: 8.031 kB / 1.386 GB, free: 6.812 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01064/1.137, allocations: 1.758 MB / 1.388 GB, free: 5.047 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009492/1.147, allocations: 4.204 MB / 1.392 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006326/1.147, allocations: 343 kB / 1.392 GB, free: 432 kB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001146/1.149, allocations: 219.9 kB / 1.392 GB, free: 212 kB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01277/1.161, allocations: 4.366 MB / 1.397 GB, free: 11.78 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001044/1.162, allocations: 0 / 1.397 GB, free: 11.78 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009738/1.163, allocations: 87.98 kB / 1.397 GB, free: 11.69 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.919e-05/1.163, allocations: 55.94 kB / 1.397 GB, free: 11.64 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.014/1.177, allocations: 5.537 MB / 1.402 GB, free: 6.094 MB / 1.123 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.02795/1.205, allocations: 15.71 MB / 1.418 GB, free: 5.75 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/1.215, allocations: 3.869 MB / 1.421 GB, free: 1.852 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004721/1.22, allocations: 2.115 MB / 1.423 GB, free: 15.73 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009949/1.221, allocations: 1.248 MB / 1.425 GB, free: 14.21 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004983/1.226, allocations: 2.179 MB / 1.427 GB, free: 12.02 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002027/1.228, allocations: 310.4 kB / 1.427 GB, free: 11.71 MB / 1.154 GB Notification: Performance of pre-optimization done (n=148): time 7.945e-06/1.228, allocations: 0 / 1.427 GB, free: 11.71 MB / 1.154 GB Notification: Performance of matching and sorting (n=148): time 0.016/1.244, allocations: 6.355 MB / 1.433 GB, free: 5.301 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/1.244, allocations: 64.72 kB / 1.433 GB, free: 5.227 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007979/1.252, allocations: 4.019 MB / 1.437 GB, free: 1.227 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0005788/1.252, allocations: 65.7 kB / 1.437 GB, free: 1.156 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.002023/1.254, allocations: 1.53 MB / 1.439 GB, free: 15.61 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009981/1.255, allocations: 0.5084 MB / 1.439 GB, free: 15.1 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001494/1.257, allocations: 435.1 kB / 1.44 GB, free: 14.66 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.257, allocations: 305.1 kB / 1.44 GB, free: 14.36 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00492/1.262, allocations: 1.999 MB / 1.442 GB, free: 12.36 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005316/1.267, allocations: 2.535 MB / 1.444 GB, free: 9.629 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008981/1.276, allocations: 4.041 MB / 1.448 GB, free: 5.457 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.404e-05/1.276, allocations: 4 kB / 1.448 GB, free: 5.453 MB / 1.17 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.01177/1.288, allocations: 4.942 MB / 1.453 GB, free: 496 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 5.06e-05/1.288, allocations: 33.7 kB / 1.453 GB, free: 456 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/1.288, allocations: 12 kB / 1.453 GB, free: 444 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/1.289, allocations: 290.1 kB / 1.454 GB, free: 148 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003106/1.293, allocations: 0.6903 MB / 1.454 GB, free: 15.45 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/1.294, allocations: 1.366 MB / 1.456 GB, free: 14.04 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004089/1.298, allocations: 467.4 kB / 1.456 GB, free: 13.58 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003912/1.298, allocations: 95.92 kB / 1.456 GB, free: 13.48 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0063/1.305, allocations: 3.15 MB / 1.459 GB, free: 10.32 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004783/1.309, allocations: 2.508 MB / 1.462 GB, free: 7.629 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008476/1.318, allocations: 4.01 MB / 1.466 GB, free: 3.492 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.01e-05/1.318, allocations: 4 kB / 1.466 GB, free: 3.488 MB / 1.186 GB Notification: Performance of matching and sorting (n=221) (initialization_lambda0): time 0.01137/1.329, allocations: 4.81 MB / 1.47 GB, free: 14.65 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/1.329, allocations: 39.41 kB / 1.47 GB, free: 14.61 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/1.329, allocations: 8 kB / 1.47 GB, free: 14.6 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005439/1.33, allocations: 178 kB / 1.47 GB, free: 14.42 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003039/1.333, allocations: 0.6864 MB / 1.471 GB, free: 13.73 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003702/1.337, allocations: 4.023 MB / 1.475 GB, free: 9.43 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00425/1.341, allocations: 487.2 kB / 1.476 GB, free: 8.953 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004379/1.341, allocations: 99.92 kB / 1.476 GB, free: 8.855 MB / 1.201 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.0007565/1.342, allocations: 291.8 kB / 1.476 GB, free: 8.562 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001164/1.343, allocations: 347.9 kB / 1.476 GB, free: 8.219 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01085/1.354, allocations: 4.605 MB / 1.481 GB, free: 3.613 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008576/1.363, allocations: 4.011 MB / 1.485 GB, free: 15.55 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/1.363, allocations: 4 kB / 1.485 GB, free: 15.54 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002288/1.365, allocations: 0.8401 MB / 1.486 GB, free: 14.68 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009608/1.366, allocations: 32 kB / 1.486 GB, free: 14.65 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003328/1.37, allocations: 407.4 kB / 1.486 GB, free: 14.25 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002726/1.37, allocations: 117.8 kB / 1.486 GB, free: 14.14 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01119/1.381, allocations: 4.523 MB / 1.49 GB, free: 9.594 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01405/1.395, allocations: 6.994 MB / 1.497 GB, free: 2.578 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004049/1.399, allocations: 2.033 MB / 1.499 GB, free: 0.543 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.005042/1.404, allocations: 2.835 MB / 1.502 GB, free: 13.72 MB / 1.232 GB Notification: Performance of Backend: time 8.12e-07/1.404, allocations: 0 / 1.502 GB, free: 13.72 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01442/1.419, allocations: 5.899 MB / 1.508 GB, free: 7.801 MB / 1.232 GB Notification: Performance of SimCode: time 0.017/1.436, allocations: 8.622 MB / 1.516 GB, free: 15.15 MB / 1.248 GB Notification: Performance of Templates: time 0.7435/2.179, allocations: 94.87 MB / 1.609 GB, free: 314.4 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