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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001923/0.001923, allocations: 113.2 kB / 16.42 MB, free: 6.008 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.001985/0.001985, allocations: 187 kB / 17.35 MB, free: 5.625 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.468/1.468, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.676/2.676, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002349/0.002349, allocations: 67.91 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9554/0.9578, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser): time 0.0214/0.9792, allocations: 21.39 MB / 1.229 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009802/0.9891, allocations: 7.733 MB / 1.237 GB, free: 376 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.9902, allocations: 23.88 kB / 1.237 GB, free: 352 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.9915, allocations: 325.8 kB / 1.237 GB, free: 24 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002657/0.9942, allocations: 0.8239 MB / 1.238 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00278/0.997, allocations: 0.8365 MB / 1.239 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003039/1, allocations: 1.509 MB / 1.24 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0014/1.001, allocations: 0.6342 MB / 1.241 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001794/1.003, allocations: 0.6847 MB / 1.242 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008058/1.004, allocations: 485.8 kB / 1.242 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000122/1.004, allocations: 72 kB / 1.242 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002079/1.006, allocations: 0.8853 MB / 1.243 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001992/1.007, allocations: 175.4 kB / 1.243 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003977/1.007, allocations: 390 kB / 1.244 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001718/1.009, allocations: 1.326 MB / 1.245 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/1.009, allocations: 4 kB / 1.245 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.934e-06/1.009, allocations: 0 / 1.245 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.013e-05/1.009, allocations: 0 / 1.245 GB, free: 8.203 MB / 0.9669 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.001846/1.011, allocations: 1.123 MB / 1.246 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/1.011, allocations: 8.031 kB / 1.246 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/1.011, allocations: 87.89 kB / 1.246 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009796/1.012, allocations: 0.6252 MB / 1.247 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/1.012, allocations: 33.38 kB / 1.247 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.848e-05/1.012, allocations: 60.11 kB / 1.247 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000813/1.013, allocations: 0.4984 MB / 1.247 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/1.013, allocations: 0 / 1.247 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.727e-05/1.013, allocations: 24 kB / 1.247 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.87e-05/1.013, allocations: 17 kB / 1.247 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006299/1.013, allocations: 343.8 kB / 1.248 GB, free: 5.273 MB / 0.9669 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.002457/1.016, allocations: 2.051 MB / 1.25 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000619/1.017, allocations: 323 kB / 1.25 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002508/1.017, allocations: 172 kB / 1.25 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004183/1.017, allocations: 0.4947 MB / 1.251 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004201/1.018, allocations: 270.6 kB / 1.251 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=34): time 1.783e-06/1.018, allocations: 0 / 1.251 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34): time 0.001028/1.019, allocations: 0.5497 MB / 1.251 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.995e-05/1.019, allocations: 188.2 kB / 1.251 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007177/1.02, allocations: 0.6057 MB / 1.252 GB, free: 312 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/1.02, allocations: 33.7 kB / 1.252 GB, free: 272 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/1.02, allocations: 328.1 kB / 1.252 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.549e-05/1.02, allocations: 110.5 kB / 1.253 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/1.02, allocations: 94.02 kB / 1.253 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001636/1.02, allocations: 378.7 kB / 1.253 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/1.021, allocations: 158.5 kB / 1.253 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003548/1.021, allocations: 270 kB / 1.253 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006344/1.022, allocations: 471.6 kB / 1.254 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.022, allocations: 0 / 1.254 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008889/1.023, allocations: 0.5697 MB / 1.254 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.158e-05/1.023, allocations: 33.7 kB / 1.254 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.023, allocations: 4 kB / 1.254 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/1.023, allocations: 4 kB / 1.254 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/1.023, allocations: 99.88 kB / 1.255 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003797/1.024, allocations: 0.6058 MB / 1.255 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004067/1.024, allocations: 51.52 kB / 1.255 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.151e-05/1.024, allocations: 27.98 kB / 1.255 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004169/1.024, allocations: 296.9 kB / 1.255 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003373/1.025, allocations: 278.1 kB / 1.256 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005974/1.025, allocations: 451.2 kB / 1.256 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.136e-06/1.025, allocations: 0 / 1.256 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of matching and sorting (n=52) (initialization_lambda0): time 0.0008755/1.026, allocations: 0.5487 MB / 1.257 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.783e-05/1.026, allocations: 41.97 kB / 1.257 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/1.026, allocations: 8 kB / 1.257 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.63e-06/1.026, allocations: 4 kB / 1.257 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/1.027, allocations: 87.83 kB / 1.257 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.027, allocations: 11.98 kB / 1.257 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/1.027, allocations: 47.66 kB / 1.257 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/1.027, allocations: 16 kB / 1.257 GB, free: 11.05 MB / 0.9825 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.0002006/1.027, allocations: 250 kB / 1.257 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.854e-05/1.027, allocations: 75.08 kB / 1.257 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009966/1.028, allocations: 0.5617 MB / 1.258 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/1.029, allocations: 3.938 kB / 1.258 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/1.029, allocations: 8.125 kB / 1.258 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001956/1.029, allocations: 180.2 kB / 1.258 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.737e-05/1.029, allocations: 16 kB / 1.258 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/1.029, allocations: 15.92 kB / 1.258 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.932e-05/1.029, allocations: 19.97 kB / 1.258 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001092/1.03, allocations: 0.7862 MB / 1.259 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001103/1.031, allocations: 1.007 MB / 1.26 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002643/1.032, allocations: 196 kB / 1.26 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000545/1.032, allocations: 447 kB / 1.26 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of Backend: time 5.81e-07/1.032, allocations: 0 / 1.26 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002544/1.035, allocations: 0.9442 MB / 1.261 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of SimCode: time 0.002632/1.037, allocations: 1.738 MB / 1.263 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of Templates: time 0.02335/1.061, allocations: 13.93 MB / 1.277 GB, free: 6.848 MB / 0.9981 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