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 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.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.007959/0.007959, allocations: 101.6 kB / 15.73 MB, free: 6.047 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.001561/0.00156, allocations: 199.5 kB / 16.68 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.579/2.579, allocations: 461.9 MB / 0.7347 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 64.12 kB / 1.054 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137/1.138, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003684/1.142, allocations: 2.148 MB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002875/1.145, allocations: 1.854 MB / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/1.145, allocations: 0 / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006858/1.146, allocations: 234.5 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001257/1.146, allocations: 59.42 kB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/1.147, allocations: 421.6 kB / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004953/1.147, allocations: 409.9 kB / 1.213 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/1.147, allocations: 40.38 kB / 1.213 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/1.147, allocations: 151.6 kB / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/1.148, allocations: 163.4 kB / 1.213 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.04e-05/1.148, allocations: 28 kB / 1.213 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003814/1.148, allocations: 239.7 kB / 1.213 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001305/1.148, allocations: 115.7 kB / 1.213 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001551/1.148, allocations: 163.2 kB / 1.214 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005987/1.149, allocations: 0.5977 MB / 1.214 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.149, allocations: 3.984 kB / 1.214 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.523e-06/1.149, allocations: 0 / 1.214 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.018e-05/1.149, allocations: 0 / 1.214 GB, free: 7.035 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001132/1.15, allocations: 0.6983 MB / 1.215 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/1.15, allocations: 8.031 kB / 1.215 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001702/1.152, allocations: 172.3 kB / 1.215 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004819/1.152, allocations: 362.3 kB / 1.215 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/1.153, allocations: 79.94 kB / 1.215 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/1.153, allocations: 4.375 kB / 1.215 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/1.154, allocations: 445.3 kB / 1.216 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/1.154, allocations: 3.984 kB / 1.216 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/1.154, allocations: 7.938 kB / 1.216 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/1.154, allocations: 0 / 1.216 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/1.155, allocations: 0.5816 MB / 1.216 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/1.157, allocations: 1.043 MB / 1.217 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004875/1.162, allocations: 0.8456 MB / 1.218 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007693/1.163, allocations: 312.6 kB / 1.219 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/1.163, allocations: 3.938 kB / 1.219 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009899/1.164, allocations: 439 kB / 1.219 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/1.164, allocations: 0 / 1.219 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002504/1.167, allocations: 0.9186 MB / 1.22 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/1.167, allocations: 59.39 kB / 1.22 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004665/1.167, allocations: 433.6 kB / 1.22 GB, free: 464 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/1.167, allocations: 33.69 kB / 1.22 GB, free: 424 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/1.167, allocations: 168.1 kB / 1.221 GB, free: 252 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.014e-05/1.167, allocations: 51.3 kB / 1.221 GB, free: 200 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/1.168, allocations: 53.67 kB / 1.221 GB, free: 140 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.168, allocations: 354.7 kB / 1.221 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008759/1.169, allocations: 380.5 kB / 1.221 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008564/1.169, allocations: 377.8 kB / 1.222 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/1.171, allocations: 0.5958 MB / 1.222 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.171, allocations: 0 / 1.222 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001969/1.173, allocations: 0.9021 MB / 1.223 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.968e-05/1.173, allocations: 45.69 kB / 1.223 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.173, allocations: 0 / 1.223 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/1.173, allocations: 0 / 1.223 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00047/1.174, allocations: 67.84 kB / 1.223 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/1.174, allocations: 4 kB / 1.223 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/1.174, allocations: 47.86 kB / 1.223 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.332e-05/1.174, allocations: 11.92 kB / 1.223 GB, free: 13.34 MB / 0.9512 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.0002786/1.174, allocations: 185.8 kB / 1.224 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.808e-05/1.174, allocations: 39.62 kB / 1.224 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.732e-05/1.175, allocations: 39.47 kB / 1.224 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/1.175, allocations: 0 / 1.224 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.175, allocations: 4 kB / 1.224 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.175, allocations: 0 / 1.224 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006387/1.175, allocations: 0.5517 MB / 1.224 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/1.175, allocations: 0 / 1.224 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004331/1.176, allocations: 63.86 kB / 1.224 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/1.176, allocations: 4 kB / 1.224 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/1.176, allocations: 7.984 kB / 1.224 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.176, allocations: 4 kB / 1.224 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/1.176, allocations: 0 / 1.224 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/1.177, allocations: 0.6585 MB / 1.225 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/1.178, allocations: 160.7 kB / 1.225 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.455e-05/1.178, allocations: 11.98 kB / 1.225 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004342/1.178, allocations: 47.88 kB / 1.225 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.898e-05/1.178, allocations: 15.98 kB / 1.225 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.101e-05/1.178, allocations: 15.92 kB / 1.225 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000363/1.179, allocations: 327 kB / 1.225 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/1.179, allocations: 0 / 1.225 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003909/1.179, allocations: 84.23 kB / 1.225 GB, free: 11.04 MB / 0.9512 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.0003041/1.179, allocations: 127.2 kB / 1.226 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001843/1.181, allocations: 0.7682 MB / 1.226 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.181, allocations: 4 kB / 1.226 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008293/1.182, allocations: 323.7 kB / 1.227 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/1.183, allocations: 83.47 kB / 1.227 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/1.184, allocations: 0.8159 MB / 1.228 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/1.185, allocations: 0.8179 MB / 1.228 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003485/1.185, allocations: 98.25 kB / 1.228 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/1.185, allocations: 39.41 kB / 1.228 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of SimCode: time 6.52e-07/1.185, allocations: 0 / 1.228 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of Templates: time 0.01297/1.198, allocations: 7.311 MB / 1.236 GB, free: 0.668 MB / 0.9512 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