Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.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.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ideUse.yVal_actual|mPre_flow.y|ideUse.senMasFlo.m_flow",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser") translateModel(Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ideUse.yVal_actual|mPre_flow.y|ideUse.senMasFlo.m_flow",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 108.3 kB / 16.41 MB, free: 6.434 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.001137/0.001137, allocations: 187.9 kB / 17.35 MB, free: 5.688 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.461/1.461, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.735/2.735, allocations: 472.7 MB / 0.746 GB, free: 412 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 63.89 kB / 1.07 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9707/0.9722, allocations: 159.9 MB / 1.226 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser): time 0.02931/1.002, allocations: 21.4 MB / 1.247 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01101/1.013, allocations: 7.718 MB / 1.255 GB, free: 236 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/1.014, allocations: 27.88 kB / 1.255 GB, free: 208 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001282/1.015, allocations: 337.7 kB / 1.255 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002776/1.018, allocations: 0.8553 MB / 1.256 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002675/1.021, allocations: 0.8433 MB / 1.257 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002435/1.023, allocations: 1.513 MB / 1.258 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/1.024, allocations: 0.6391 MB / 1.259 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00164/1.026, allocations: 0.677 MB / 1.26 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009858/1.027, allocations: 0.49 MB / 1.26 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002393/1.027, allocations: 72 kB / 1.26 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001924/1.029, allocations: 0.8853 MB / 1.261 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000318/1.03, allocations: 175.4 kB / 1.261 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006376/1.03, allocations: 386 kB / 1.261 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002506/1.033, allocations: 1.335 MB / 1.263 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.033, allocations: 0 / 1.263 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.884e-06/1.033, allocations: 0 / 1.263 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.368e-05/1.033, allocations: 0 / 1.263 GB, free: 7.996 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.00259/1.035, allocations: 1.145 MB / 1.264 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/1.036, allocations: 8.031 kB / 1.264 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002724/1.036, allocations: 96.38 kB / 1.264 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/1.037, allocations: 0.6374 MB / 1.265 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.096e-05/1.037, allocations: 41.36 kB / 1.265 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.443e-05/1.037, allocations: 52.06 kB / 1.265 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009111/1.038, allocations: 0.5023 MB / 1.265 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/1.038, allocations: 0 / 1.265 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.47e-05/1.038, allocations: 20 kB / 1.265 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/1.038, allocations: 17 kB / 1.265 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007082/1.039, allocations: 343.8 kB / 1.266 GB, free: 5.023 MB / 0.9825 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.00293/1.042, allocations: 2.055 MB / 1.268 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006561/1.043, allocations: 315.2 kB / 1.268 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/1.043, allocations: 165 kB / 1.268 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003984/1.043, allocations: 0.4908 MB / 1.269 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000421/1.044, allocations: 274.5 kB / 1.269 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=34): time 2.625e-06/1.044, allocations: 4 kB / 1.269 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34): time 0.001128/1.045, allocations: 0.5472 MB / 1.269 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.752e-05/1.045, allocations: 191.9 kB / 1.27 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007921/1.046, allocations: 0.6017 MB / 1.27 GB, free: 60 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/1.046, allocations: 29.7 kB / 1.27 GB, free: 24 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/1.046, allocations: 340.7 kB / 1.27 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/1.046, allocations: 123 kB / 1.271 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/1.046, allocations: 98.06 kB / 1.271 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.047, allocations: 370.7 kB / 1.271 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002854/1.047, allocations: 154.5 kB / 1.271 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003741/1.047, allocations: 278 kB / 1.271 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006223/1.048, allocations: 452.7 kB / 1.272 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/1.048, allocations: 4 kB / 1.272 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009782/1.049, allocations: 0.5662 MB / 1.272 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.791e-05/1.049, allocations: 39.91 kB / 1.272 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/1.049, allocations: 8.469 kB / 1.272 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/1.049, allocations: 4 kB / 1.272 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005517/1.05, allocations: 99.86 kB / 1.273 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004474/1.05, allocations: 0.6015 MB / 1.273 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005144/1.051, allocations: 63.8 kB / 1.273 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-05/1.051, allocations: 24 kB / 1.273 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004488/1.051, allocations: 308.9 kB / 1.274 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003526/1.051, allocations: 270 kB / 1.274 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000603/1.052, allocations: 455 kB / 1.274 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.015e-06/1.052, allocations: 0 / 1.274 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of matching and sorting (n=52) (initialization_lambda0): time 0.000935/1.053, allocations: 0.5608 MB / 1.275 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/1.053, allocations: 37.64 kB / 1.275 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.053, allocations: 4 kB / 1.275 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/1.053, allocations: 4 kB / 1.275 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/1.053, allocations: 87.83 kB / 1.275 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/1.053, allocations: 8.328 kB / 1.275 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004484/1.054, allocations: 51.77 kB / 1.275 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.824e-05/1.054, allocations: 23.98 kB / 1.275 GB, free: 10.77 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 8 (mPre_flow.nextEventScaled,mPre_flow.nextEvent,$PRE.mPre_flow.nextEvent,mPre_flow.last,mPre_flow.b,mPre_flow.a,$whenCondition1,ideUse.conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002077/1.054, allocations: 247.8 kB / 1.275 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/1.054, allocations: 71.52 kB / 1.275 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/1.055, allocations: 0.5659 MB / 1.276 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-06/1.055, allocations: 3.984 kB / 1.276 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/1.055, allocations: 0 / 1.276 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002453/1.056, allocations: 188.5 kB / 1.276 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/1.056, allocations: 12 kB / 1.276 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/1.056, allocations: 19.92 kB / 1.276 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/1.056, allocations: 19.97 kB / 1.276 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001129/1.057, allocations: 0.7862 MB / 1.277 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001153/1.058, allocations: 1.013 MB / 1.278 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000293/1.059, allocations: 196.3 kB / 1.278 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005606/1.059, allocations: 443 kB / 1.278 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of Backend: time 6.01e-07/1.059, allocations: 4 kB / 1.278 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002547/1.062, allocations: 0.9446 MB / 1.279 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of SimCode: time 0.002675/1.065, allocations: 1.749 MB / 1.281 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of Templates: time 0.02516/1.09, allocations: 13.94 MB / 1.295 GB, free: 6.523 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.makefile (rm -f Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.sim & ./Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Cooling_BaseClasses_Validation_IdealUser.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches