Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001721/0.001721, allocations: 113.4 kB / 16.42 MB, free: 6.492 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.001796/0.001796, allocations: 186.6 kB / 17.35 MB, free: 5.762 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.568/2.568, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001357, allocations: 67.91 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7747/0.7761, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel): time 0.1044/0.8805, allocations: 115.9 MB / 1.28 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02725/0.9078, allocations: 21.47 MB / 1.301 GB, free: 10.02 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002808/0.9106, allocations: 95.38 kB / 1.302 GB, free: 9.926 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.003426/0.9141, allocations: 1.378 MB / 1.303 GB, free: 8.539 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008188/0.9223, allocations: 3.281 MB / 1.306 GB, free: 5.246 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005317/0.9276, allocations: 2.077 MB / 1.308 GB, free: 3.184 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01278/0.9404, allocations: 9.921 MB / 1.318 GB, free: 9.246 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005533/0.946, allocations: 4.178 MB / 1.322 GB, free: 4.996 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006978/0.953, allocations: 3.716 MB / 1.326 GB, free: 1.277 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004664/0.9577, allocations: 2.965 MB / 1.328 GB, free: 14.3 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001225/0.9589, allocations: 408 kB / 1.329 GB, free: 13.9 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00486/0.9638, allocations: 1.829 MB / 1.331 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00164/0.9654, allocations: 1.11 MB / 1.332 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003883/0.9693, allocations: 2.298 MB / 1.334 GB, free: 8.648 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.009427/0.9788, allocations: 7.023 MB / 1.341 GB, free: 1.605 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.9788, allocations: 4 kB / 1.341 GB, free: 1.602 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.502e-06/0.9788, allocations: 3.938 kB / 1.341 GB, free: 1.598 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.28e-05/0.9789, allocations: 0 / 1.341 GB, free: 1.598 MB / 1.061 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.009224/0.9881, allocations: 4.835 MB / 1.346 GB, free: 12.68 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.9882, allocations: 8.625 kB / 1.346 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01097/0.9991, allocations: 1.758 MB / 1.347 GB, free: 10.91 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008051/1.007, allocations: 4.223 MB / 1.351 GB, free: 6.629 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003649/1.008, allocations: 331.1 kB / 1.352 GB, free: 6.281 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005137/1.008, allocations: 216 kB / 1.352 GB, free: 6.07 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009116/1.017, allocations: 4.371 MB / 1.356 GB, free: 1.637 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.292e-05/1.017, allocations: 4 kB / 1.356 GB, free: 1.633 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002956/1.018, allocations: 80 kB / 1.356 GB, free: 1.555 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.967e-05/1.018, allocations: 59.94 kB / 1.356 GB, free: 1.496 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01213/1.03, allocations: 5.537 MB / 1.362 GB, free: 11.95 MB / 1.092 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.02414/1.054, allocations: 15.73 MB / 1.377 GB, free: 11.58 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01016/1.064, allocations: 3.864 MB / 1.381 GB, free: 7.695 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004526/1.069, allocations: 2.112 MB / 1.383 GB, free: 5.578 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009892/1.07, allocations: 1.252 MB / 1.384 GB, free: 4.047 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004875/1.075, allocations: 2.175 MB / 1.386 GB, free: 1.859 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002377/1.077, allocations: 314.4 kB / 1.387 GB, free: 1.551 MB / 1.107 GB Notification: Performance of pre-optimization done (n=148): time 8.085e-06/1.077, allocations: 3.984 kB / 1.387 GB, free: 1.547 MB / 1.107 GB Notification: Performance of matching and sorting (n=148): time 0.01576/1.093, allocations: 6.356 MB / 1.393 GB, free: 11.14 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/1.093, allocations: 64.72 kB / 1.393 GB, free: 11.06 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005357/1.098, allocations: 4.019 MB / 1.397 GB, free: 7.062 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002875/1.098, allocations: 61.7 kB / 1.397 GB, free: 6.996 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001391/1.1, allocations: 1.53 MB / 1.398 GB, free: 5.453 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005157/1.1, allocations: 0.5084 MB / 1.399 GB, free: 4.938 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007421/1.101, allocations: 435.1 kB / 1.399 GB, free: 4.508 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 8.124e-05/1.101, allocations: 301.1 kB / 1.399 GB, free: 4.211 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004385/1.106, allocations: 1.999 MB / 1.401 GB, free: 2.207 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004739/1.11, allocations: 2.535 MB / 1.404 GB, free: 15.48 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008405/1.119, allocations: 4.033 MB / 1.408 GB, free: 11.32 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/1.119, allocations: 8 kB / 1.408 GB, free: 11.31 MB / 1.139 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.01132/1.13, allocations: 4.942 MB / 1.413 GB, free: 6.34 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.262e-05/1.13, allocations: 37.7 kB / 1.413 GB, free: 6.297 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/1.13, allocations: 12 kB / 1.413 GB, free: 6.285 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/1.131, allocations: 290.1 kB / 1.413 GB, free: 5.996 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003187/1.135, allocations: 0.6864 MB / 1.414 GB, free: 5.309 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/1.136, allocations: 1.378 MB / 1.415 GB, free: 3.879 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003937/1.14, allocations: 459.3 kB / 1.415 GB, free: 3.43 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000228/1.14, allocations: 99.86 kB / 1.416 GB, free: 3.332 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006072/1.146, allocations: 3.146 MB / 1.419 GB, free: 184 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004684/1.151, allocations: 2.511 MB / 1.421 GB, free: 13.48 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00825/1.159, allocations: 3.998 MB / 1.425 GB, free: 9.355 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.544e-06/1.159, allocations: 4 kB / 1.425 GB, free: 9.352 MB / 1.154 GB Notification: Performance of matching and sorting (n=221) (initialization_lambda0): time 0.01064/1.17, allocations: 4.802 MB / 1.43 GB, free: 4.523 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/1.17, allocations: 41.69 kB / 1.43 GB, free: 4.477 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.17, allocations: 8 kB / 1.43 GB, free: 4.469 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005234/1.17, allocations: 178 kB / 1.43 GB, free: 4.289 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003081/1.173, allocations: 0.6864 MB / 1.431 GB, free: 3.602 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003603/1.177, allocations: 4.035 MB / 1.435 GB, free: 15.29 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004053/1.181, allocations: 487.2 kB / 1.435 GB, free: 14.81 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002167/1.181, allocations: 95.94 kB / 1.435 GB, free: 14.72 MB / 1.17 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.0005853/1.182, allocations: 295.9 kB / 1.435 GB, free: 14.42 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006468/1.183, allocations: 347.7 kB / 1.436 GB, free: 14.08 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/1.193, allocations: 4.611 MB / 1.44 GB, free: 9.465 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0086/1.202, allocations: 4.011 MB / 1.444 GB, free: 5.398 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/1.202, allocations: 4 kB / 1.444 GB, free: 5.395 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002199/1.204, allocations: 0.8401 MB / 1.445 GB, free: 4.531 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005745/1.204, allocations: 35.98 kB / 1.445 GB, free: 4.496 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003024/1.207, allocations: 395.4 kB / 1.445 GB, free: 4.109 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002668/1.208, allocations: 121.8 kB / 1.445 GB, free: 3.988 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01118/1.219, allocations: 4.531 MB / 1.45 GB, free: 15.44 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01409/1.233, allocations: 6.994 MB / 1.457 GB, free: 8.418 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004175/1.237, allocations: 2.033 MB / 1.459 GB, free: 6.387 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.004115/1.241, allocations: 2.835 MB / 1.461 GB, free: 3.57 MB / 1.186 GB Notification: Performance of Backend: time 3.71e-07/1.241, allocations: 0 / 1.461 GB, free: 3.57 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0135/1.255, allocations: 5.891 MB / 1.467 GB, free: 13.65 MB / 1.201 GB Notification: Performance of SimCode: time 0.01465/1.27, allocations: 8.625 MB / 1.476 GB, free: 5.008 MB / 1.201 GB Notification: Performance of Templates: time 0.6865/1.956, allocations: 95.69 MB / 1.569 GB, free: 372.7 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.makefile (rm -f Buildings_10_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe ; mkfifo Buildings_10_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe >> ../files/Buildings_10_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.sim & ./Buildings_10_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_BaseClasses_Equipment_Validation_ElectricChillerParallel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches