Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 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.Experimental.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_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser") translateModel(Buildings.Experimental.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_10_Buildings.Experimental.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.001276/0.001276, allocations: 112.2 kB / 16.42 MB, free: 6.5 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.001365/0.001365, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.435/1.435, allocations: 222.9 MB / 241.1 MB, free: 15.2 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.529/2.529, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 59.91 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.008, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser): time 0.02229/1.03, allocations: 21.4 MB / 1.188 GB, free: 14.4 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01011/1.04, allocations: 7.729 MB / 1.196 GB, free: 6.645 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/1.041, allocations: 27.81 kB / 1.196 GB, free: 6.617 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001133/1.043, allocations: 329.8 kB / 1.196 GB, free: 6.293 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002426/1.045, allocations: 0.8553 MB / 1.197 GB, free: 5.434 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002295/1.047, allocations: 0.8408 MB / 1.198 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002018/1.049, allocations: 1.509 MB / 1.199 GB, free: 3.09 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/1.05, allocations: 0.6467 MB / 1.2 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/1.052, allocations: 0.6886 MB / 1.201 GB, free: 1.738 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006907/1.053, allocations: 485.8 kB / 1.201 GB, free: 1.262 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.293e-05/1.053, allocations: 72 kB / 1.201 GB, free: 1.191 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/1.054, allocations: 0.8814 MB / 1.202 GB, free: 316 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001649/1.054, allocations: 175.4 kB / 1.202 GB, free: 140 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003778/1.055, allocations: 386.1 kB / 1.202 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001747/1.056, allocations: 1.358 MB / 1.204 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/1.056, allocations: 0 / 1.204 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.021e-06/1.056, allocations: 0 / 1.204 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.114e-05/1.056, allocations: 0 / 1.204 GB, free: 14.4 MB / 0.9356 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.002288/1.059, allocations: 1.149 MB / 1.205 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/1.059, allocations: 8.922 kB / 1.205 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002264/1.059, allocations: 92.42 kB / 1.205 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/1.06, allocations: 0.6413 MB / 1.206 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/1.06, allocations: 37.31 kB / 1.206 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.389e-05/1.06, allocations: 56.08 kB / 1.206 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008499/1.061, allocations: 0.4984 MB / 1.206 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/1.061, allocations: 7.875 kB / 1.206 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/1.061, allocations: 16 kB / 1.206 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.978e-05/1.061, allocations: 17 kB / 1.206 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006556/1.062, allocations: 347.8 kB / 1.207 GB, free: 11.42 MB / 0.9356 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.002622/1.065, allocations: 2.055 MB / 1.209 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006136/1.065, allocations: 314.8 kB / 1.209 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/1.066, allocations: 166.3 kB / 1.209 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003603/1.066, allocations: 0.4908 MB / 1.21 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003959/1.066, allocations: 278.9 kB / 1.21 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=34): time 3.777e-06/1.066, allocations: 0 / 1.21 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34): time 0.001056/1.067, allocations: 0.5515 MB / 1.21 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.668e-05/1.068, allocations: 188.2 kB / 1.211 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007839/1.068, allocations: 0.6096 MB / 1.211 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.223e-05/1.068, allocations: 29.7 kB / 1.211 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003463/1.069, allocations: 344.8 kB / 1.211 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/1.069, allocations: 115.1 kB / 1.212 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/1.069, allocations: 94.06 kB / 1.212 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.069, allocations: 378.6 kB / 1.212 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/1.069, allocations: 154.5 kB / 1.212 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/1.07, allocations: 278 kB / 1.212 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00065/1.071, allocations: 473.2 kB / 1.213 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/1.071, allocations: 0 / 1.213 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009375/1.071, allocations: 0.5571 MB / 1.213 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/1.072, allocations: 37.69 kB / 1.213 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/1.072, allocations: 4 kB / 1.213 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/1.072, allocations: 11.88 kB / 1.213 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005306/1.072, allocations: 95.88 kB / 1.214 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003903/1.073, allocations: 0.6057 MB / 1.214 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004486/1.073, allocations: 59.61 kB / 1.214 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.212e-05/1.073, allocations: 20 kB / 1.214 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000454/1.073, allocations: 308.9 kB / 1.215 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003429/1.074, allocations: 270.1 kB / 1.215 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005987/1.074, allocations: 451 kB / 1.215 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.266e-06/1.074, allocations: 0 / 1.215 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of matching and sorting (n=52) (initialization_lambda0): time 0.0008993/1.075, allocations: 0.5531 MB / 1.216 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/1.075, allocations: 41.62 kB / 1.216 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.075, allocations: 8.344 kB / 1.216 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.345e-06/1.075, allocations: 4 kB / 1.216 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/1.076, allocations: 87.83 kB / 1.216 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/1.076, allocations: 4 kB / 1.216 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000444/1.076, allocations: 47.77 kB / 1.216 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/1.076, allocations: 23.98 kB / 1.216 GB, free: 1.164 MB / 0.9356 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.0002021/1.076, allocations: 243.2 kB / 1.216 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/1.077, allocations: 71.64 kB / 1.216 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/1.078, allocations: 0.5768 MB / 1.217 GB, free: 264 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/1.078, allocations: 3.984 kB / 1.217 GB, free: 260 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/1.078, allocations: 0 / 1.217 GB, free: 260 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002407/1.078, allocations: 188.6 kB / 1.217 GB, free: 52 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/1.078, allocations: 8 kB / 1.217 GB, free: 44 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/1.078, allocations: 19.92 kB / 1.217 GB, free: 24 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.736e-05/1.078, allocations: 19.97 kB / 1.217 GB, free: 4 kB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001144/1.08, allocations: 0.7785 MB / 1.218 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001183/1.081, allocations: 1.031 MB / 1.219 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002884/1.081, allocations: 193.5 kB / 1.219 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005659/1.082, allocations: 443 kB / 1.219 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of Backend: time 5.31e-07/1.082, allocations: 0 / 1.219 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002642/1.084, allocations: 0.9534 MB / 1.22 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of SimCode: time 0.002767/1.087, allocations: 1.746 MB / 1.222 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of Templates: time 0.02514/1.112, allocations: 14.05 MB / 1.236 GB, free: 12.83 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Plants_Cooling_BaseClasses_Validation_IdealUser.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches