Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.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.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooVal.TOut|cooVal.TSupSet|cooVal.TSup|cooVal.uFanSta|cooVal.yCooVal|cooVal1.TOut|cooVal1.TSupSet|cooVal1.TSup|cooVal1.uFanSta|cooVal1.yCooVal|cooVal2.TOut|cooVal2.TSupSet|cooVal2.TSup|cooVal2.uFanSta|cooVal2.yCooVal|cooVal3.TOut|cooVal3.TSupSet|cooVal3.TSup|cooVal3.uFanSta|cooVal3.yCooVal|cooVal3.higLim.y|cooVal3.limPI.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") translateModel(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooVal.TOut|cooVal.TSupSet|cooVal.TSup|cooVal.uFanSta|cooVal.yCooVal|cooVal1.TOut|cooVal1.TSupSet|cooVal1.TSup|cooVal1.uFanSta|cooVal1.yCooVal|cooVal2.TOut|cooVal2.TSupSet|cooVal2.TSup|cooVal2.uFanSta|cooVal2.yCooVal|cooVal3.TOut|cooVal3.TSupSet|cooVal3.TSup|cooVal3.uFanSta|cooVal3.yCooVal|cooVal3.higLim.y|cooVal3.limPI.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 115.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.001908/0.001908, allocations: 183.9 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.482/1.482, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.797/2.797, allocations: 469.4 MB / 0.7428 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 75.86 kB / 1.066 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.99/0.9915, allocations: 159.1 MB / 1.221 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve): time 0.008667/1, allocations: 5.923 MB / 1.227 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004484/1.005, allocations: 2.048 MB / 1.229 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001604/1.006, allocations: 63.75 kB / 1.229 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009178/1.007, allocations: 245.2 kB / 1.229 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001313/1.009, allocations: 321.1 kB / 1.229 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00192/1.011, allocations: 0.7606 MB / 1.23 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003084/1.014, allocations: 2.088 MB / 1.232 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002038/1.016, allocations: 1.025 MB / 1.233 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001531/1.017, allocations: 0.8442 MB / 1.234 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/1.019, allocations: 0.75 MB / 1.235 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0008676/1.02, allocations: 216 kB / 1.235 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008257/1.02, allocations: 228 kB / 1.235 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0008526/1.021, allocations: 430.5 kB / 1.235 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002137/1.023, allocations: 0.8587 MB / 1.236 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003694/1.027, allocations: 2.551 MB / 1.239 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/1.027, allocations: 0 / 1.239 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.266e-06/1.027, allocations: 4 kB / 1.239 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001211/1.027, allocations: 0 / 1.239 GB, free: 15.9 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: 360 * Number of variables: 360 Notification: Performance of Generate backend data structure: time 0.005377/1.033, allocations: 2.029 MB / 1.241 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/1.033, allocations: 8.625 kB / 1.241 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006002/1.033, allocations: 206.4 kB / 1.241 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003102/1.036, allocations: 1.227 MB / 1.242 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/1.037, allocations: 119.1 kB / 1.242 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003629/1.037, allocations: 156.4 kB / 1.242 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003072/1.04, allocations: 1.341 MB / 1.244 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/1.04, allocations: 7.938 kB / 1.244 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/1.04, allocations: 64 kB / 1.244 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-05/1.04, allocations: 36 kB / 1.244 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/1.042, allocations: 0.9409 MB / 1.245 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008163/1.051, allocations: 4.599 MB / 1.249 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/1.052, allocations: 0.6788 MB / 1.25 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006349/1.053, allocations: 331.1 kB / 1.25 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.315e-05/1.053, allocations: 11.98 kB / 1.25 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008378/1.054, allocations: 439.4 kB / 1.251 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=80): time 5.941e-06/1.054, allocations: 0 / 1.251 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of matching and sorting (n=80): time 0.002049/1.056, allocations: 0.8568 MB / 1.252 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/1.056, allocations: 144.4 kB / 1.252 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002547/1.058, allocations: 1.144 MB / 1.253 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001542/1.059, allocations: 57.7 kB / 1.253 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009118/1.06, allocations: 0.7768 MB / 1.254 GB, free: 308 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002985/1.06, allocations: 252.5 kB / 1.254 GB, free: 52 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005456/1.06, allocations: 250.8 kB / 1.254 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000205/1.061, allocations: 353.9 kB / 1.254 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008784/1.062, allocations: 330 kB / 1.255 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/1.063, allocations: 0.7212 MB / 1.255 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/1.064, allocations: 0.9536 MB / 1.256 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.416e-05/1.064, allocations: 4 kB / 1.256 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002656/1.067, allocations: 1.192 MB / 1.258 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.925e-05/1.067, allocations: 33.7 kB / 1.258 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.001e-05/1.067, allocations: 12 kB / 1.258 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.575e-05/1.067, allocations: 16 kB / 1.258 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007987/1.068, allocations: 207.6 kB / 1.258 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.81e-05/1.068, allocations: 23.94 kB / 1.258 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/1.069, allocations: 178.4 kB / 1.258 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/1.069, allocations: 55.98 kB / 1.258 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001231/1.071, allocations: 0.5455 MB / 1.259 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009924/1.072, allocations: 0.7009 MB / 1.259 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001426/1.073, allocations: 0.916 MB / 1.26 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.319e-05/1.073, allocations: 7.938 kB / 1.26 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of matching and sorting (n=152) (initialization_lambda0): time 0.002141/1.075, allocations: 1.138 MB / 1.261 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.095e-05/1.075, allocations: 41.7 kB / 1.261 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/1.075, allocations: 8 kB / 1.261 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/1.075, allocations: 16 kB / 1.261 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006833/1.076, allocations: 207.6 kB / 1.262 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-05/1.076, allocations: 19.94 kB / 1.262 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009228/1.077, allocations: 139 kB / 1.262 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/1.077, allocations: 48 kB / 1.262 GB, free: 7.254 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition4,$whenCondition5,uSupFan.y,$PRE.uSupFan.y,cooVal.cha.u,$PRE.cooVal.cha.u,cooVal.andOutAirFanFee.y,cooVal.uFanFeeThr.y,$PRE.cooVal.uFanFeeThr.y,cooVal.TOutThr.y,$PRE.cooVal.TOutThr.y,cooVal.limPI.trigger,$whenCondition6,uSupFan3.y,cooVal3.cha.u,$PRE.cooVal3.cha.u,cooVal3.uFanFeeThr.y,$PRE.cooVal3.uFanFeeThr.y,cooVal3.TOutThr.y,$PRE.cooVal3.TOutThr.y,cooVal3.limPI.trigger,$whenCondition3,uSupFan2.y,cooVal2.cha.u,$PRE.cooVal2.cha.u,cooVal2.uFanFeeThr.y,$PRE.cooVal2.uFanFeeThr.y,cooVal2.TOutThr.y,$PRE.cooVal2.TOutThr.y,cooVal2.limPI.trigger,$whenCondition2,uSupFan1.y,cooVal1.cha.u,$PRE.cooVal1.cha.u,cooVal1.uFanFeeThr.y,$PRE.cooVal1.uFanFeeThr.y,cooVal1.TOutThr.y,$PRE.cooVal1.TOutThr.y,cooVal1.limPI.trigger,$whenCondition1,cooVal3.limPI.cheYMinMax.y,cooVal2.limPI.cheYMinMax.y,cooVal1.limPI.cheYMinMax.y,cooVal.limPI.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004118/1.078, allocations: 284.3 kB / 1.262 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003144/1.078, allocations: 134.3 kB / 1.262 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/1.079, allocations: 0.7135 MB / 1.263 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-05/1.08, allocations: 15.92 kB / 1.263 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/1.08, allocations: 4 kB / 1.263 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003166/1.08, allocations: 215.1 kB / 1.263 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/1.08, allocations: 24 kB / 1.263 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004675/1.081, allocations: 31.97 kB / 1.263 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/1.081, allocations: 67.86 kB / 1.263 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001846/1.083, allocations: 0.9695 MB / 1.264 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002067/1.085, allocations: 1.383 MB / 1.265 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005819/1.085, allocations: 291.2 kB / 1.266 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001258/1.087, allocations: 0.7368 MB / 1.266 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of Backend: time 4.61e-07/1.087, allocations: 0 / 1.266 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003264/1.09, allocations: 1.32 MB / 1.268 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of SimCode: time 0.004829/1.095, allocations: 2.694 MB / 1.27 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of Templates: time 0.03578/1.13, allocations: 16.88 MB / 1.287 GB, free: 13.55 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches