Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.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.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005365/0.005365, allocations: 99.42 kB / 15.73 MB, free: 6.059 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.001501/0.001501, allocations: 194.4 kB / 16.67 MB, free: 5.969 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.341/1.341, allocations: 222.9 MB / 240.3 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.678/2.678, allocations: 472.6 MB / 0.7453 GB, free: 488 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 63.91 kB / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9922/0.9936, allocations: 159.9 MB / 1.226 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003292/0.997, allocations: 2.134 MB / 1.228 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002798/0.9998, allocations: 1.854 MB / 1.229 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/1, allocations: 0 / 1.229 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007795/1.001, allocations: 235.7 kB / 1.23 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001474/1.001, allocations: 67.36 kB / 1.23 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/1.002, allocations: 413.9 kB / 1.23 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004947/1.003, allocations: 410.8 kB / 1.231 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/1.003, allocations: 48.31 kB / 1.231 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/1.003, allocations: 159.5 kB / 1.231 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/1.003, allocations: 155.4 kB / 1.231 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.462e-05/1.003, allocations: 28 kB / 1.231 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004083/1.004, allocations: 239.7 kB / 1.231 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001544/1.004, allocations: 111.7 kB / 1.231 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001692/1.004, allocations: 171.2 kB / 1.231 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006305/1.005, allocations: 0.5878 MB / 1.232 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.005, allocations: 4 kB / 1.232 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.132e-06/1.005, allocations: 3.938 kB / 1.232 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.182e-05/1.005, allocations: 0 / 1.232 GB, free: 7.113 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001146/1.006, allocations: 0.7214 MB / 1.233 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/1.006, allocations: 8.031 kB / 1.233 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001624/1.007, allocations: 160.5 kB / 1.233 GB, free: 6.172 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004582/1.008, allocations: 366.6 kB / 1.233 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/1.008, allocations: 71.95 kB / 1.233 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/1.008, allocations: 16.36 kB / 1.233 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009577/1.009, allocations: 441.3 kB / 1.234 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/1.009, allocations: 0 / 1.234 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.631e-05/1.009, allocations: 7.984 kB / 1.234 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/1.009, allocations: 4 kB / 1.234 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/1.011, allocations: 0.5816 MB / 1.234 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/1.012, allocations: 1.039 MB / 1.235 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004477/1.017, allocations: 0.8455 MB / 1.236 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007009/1.017, allocations: 312.6 kB / 1.236 GB, free: 2.391 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/1.018, allocations: 3.984 kB / 1.236 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009258/1.018, allocations: 443 kB / 1.237 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/1.018, allocations: 0 / 1.237 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.002382/1.021, allocations: 0.9206 MB / 1.238 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/1.021, allocations: 59.41 kB / 1.238 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004795/1.021, allocations: 433.6 kB / 1.238 GB, free: 0.5117 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/1.021, allocations: 29.7 kB / 1.238 GB, free: 488 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/1.022, allocations: 180 kB / 1.238 GB, free: 304 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.491e-05/1.022, allocations: 51.53 kB / 1.238 GB, free: 252 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/1.022, allocations: 53.67 kB / 1.239 GB, free: 192 kB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.022, allocations: 346.8 kB / 1.239 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008301/1.023, allocations: 384.6 kB / 1.239 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007854/1.024, allocations: 373.2 kB / 1.24 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/1.025, allocations: 0.5941 MB / 1.24 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.025, allocations: 0 / 1.24 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001859/1.027, allocations: 0.9086 MB / 1.241 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.009e-05/1.027, allocations: 41.69 kB / 1.241 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/1.027, allocations: 4 kB / 1.241 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/1.027, allocations: 4 kB / 1.241 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004267/1.027, allocations: 59.92 kB / 1.241 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/1.027, allocations: 7.969 kB / 1.241 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003941/1.028, allocations: 39.95 kB / 1.241 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.103e-05/1.028, allocations: 19.92 kB / 1.241 GB, free: 13.39 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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.0003935/1.028, allocations: 190.2 kB / 1.241 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.256e-05/1.028, allocations: 35.77 kB / 1.241 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.126e-05/1.029, allocations: 47.45 kB / 1.241 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/1.029, allocations: 0 / 1.241 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.029, allocations: 0 / 1.241 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.029, allocations: 4 kB / 1.241 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005963/1.029, allocations: 0.544 MB / 1.242 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/1.029, allocations: 7.938 kB / 1.242 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/1.03, allocations: 55.92 kB / 1.242 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/1.03, allocations: 3.938 kB / 1.242 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/1.03, allocations: 15.98 kB / 1.242 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/1.03, allocations: 0 / 1.242 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.03, allocations: 7.938 kB / 1.242 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/1.031, allocations: 0.6605 MB / 1.243 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/1.031, allocations: 160.8 kB / 1.243 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.171e-05/1.032, allocations: 4 kB / 1.243 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/1.032, allocations: 47.94 kB / 1.243 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.792e-05/1.032, allocations: 19.97 kB / 1.243 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/1.032, allocations: 11.98 kB / 1.243 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003319/1.032, allocations: 323 kB / 1.243 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/1.032, allocations: 0 / 1.243 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003674/1.033, allocations: 79.94 kB / 1.243 GB, free: 11.11 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003128/1.033, allocations: 139 kB / 1.244 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001786/1.035, allocations: 0.7606 MB / 1.244 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.035, allocations: 0 / 1.244 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007833/1.036, allocations: 330.2 kB / 1.245 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/1.036, allocations: 71.19 kB / 1.245 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/1.038, allocations: 0.8307 MB / 1.245 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/1.038, allocations: 0.8104 MB / 1.246 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003372/1.039, allocations: 102.2 kB / 1.246 GB, free: 8 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/1.039, allocations: 39.41 kB / 1.246 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of SimCode: time 1.8e-07/1.039, allocations: 0 / 1.246 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of Templates: time 0.01208/1.051, allocations: 7.165 MB / 1.253 GB, free: 0.8672 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches