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.008465/0.008465, allocations: 104.1 kB / 15.74 MB, free: 6.02 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.001943/0.001943, allocations: 192.5 kB / 16.68 MB, free: 5.938 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.373/1.373, allocations: 222.9 MB / 240.4 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.681/2.681, allocations: 472.6 MB / 0.7453 GB, free: 440 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 71.89 kB / 1.069 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112/1.114, allocations: 159.9 MB / 1.226 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.005975/1.12, allocations: 2.131 MB / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00534/1.125, allocations: 1.857 MB / 1.23 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/1.126, allocations: 4 kB / 1.23 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00134/1.127, allocations: 219.8 kB / 1.23 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002858/1.127, allocations: 71.34 kB / 1.23 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002068/1.129, allocations: 409.8 kB / 1.23 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000799/1.13, allocations: 418.2 kB / 1.231 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/1.13, allocations: 47.89 kB / 1.231 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000277/1.131, allocations: 159.5 kB / 1.231 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003536/1.131, allocations: 159.4 kB / 1.231 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.442e-05/1.131, allocations: 28 kB / 1.231 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007218/1.132, allocations: 235.7 kB / 1.231 GB, free: 7.73 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002508/1.132, allocations: 115.7 kB / 1.231 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002737/1.132, allocations: 167.2 kB / 1.231 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001223/1.134, allocations: 0.5917 MB / 1.232 GB, free: 6.859 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/1.134, allocations: 3.938 kB / 1.232 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.765e-06/1.134, allocations: 0 / 1.232 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.326e-06/1.134, allocations: 0 / 1.232 GB, free: 6.855 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.001992/1.136, allocations: 0.7175 MB / 1.233 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.6e-05/1.136, allocations: 12.03 kB / 1.233 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00314/1.139, allocations: 164.5 kB / 1.233 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007683/1.14, allocations: 366.7 kB / 1.233 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/1.14, allocations: 71.95 kB / 1.233 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.385e-05/1.14, allocations: 12.38 kB / 1.233 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/1.142, allocations: 447.1 kB / 1.234 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/1.142, allocations: 0 / 1.234 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.737e-05/1.142, allocations: 4 kB / 1.234 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/1.142, allocations: 0 / 1.234 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002999/1.145, allocations: 0.5855 MB / 1.234 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003166/1.148, allocations: 1.039 MB / 1.235 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008465/1.157, allocations: 0.8533 MB / 1.236 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001572/1.158, allocations: 304.7 kB / 1.236 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.763e-05/1.159, allocations: 11.98 kB / 1.237 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001847/1.16, allocations: 439 kB / 1.237 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 3.787e-06/1.16, allocations: 0 / 1.237 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.004805/1.165, allocations: 0.9249 MB / 1.238 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/1.165, allocations: 55.41 kB / 1.238 GB, free: 0.6836 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008991/1.166, allocations: 429.6 kB / 1.238 GB, free: 260 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.493e-05/1.166, allocations: 33.7 kB / 1.238 GB, free: 220 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/1.167, allocations: 180 kB / 1.238 GB, free: 36 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/1.167, allocations: 51.72 kB / 1.239 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/1.167, allocations: 61.67 kB / 1.239 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002238/1.167, allocations: 342.6 kB / 1.239 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/1.169, allocations: 384.6 kB / 1.239 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/1.171, allocations: 375.8 kB / 1.24 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002919/1.173, allocations: 0.5939 MB / 1.24 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/1.173, allocations: 0 / 1.24 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003837/1.177, allocations: 0.9086 MB / 1.241 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.739e-05/1.177, allocations: 41.69 kB / 1.241 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.177, allocations: 0 / 1.241 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/1.178, allocations: 0 / 1.241 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008294/1.178, allocations: 63.91 kB / 1.241 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/1.178, allocations: 4 kB / 1.241 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007559/1.179, allocations: 47.83 kB / 1.241 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.441e-05/1.179, allocations: 15.97 kB / 1.241 GB, free: 13.13 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.0004667/1.18, allocations: 186.3 kB / 1.241 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/1.18, allocations: 43.75 kB / 1.242 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/1.18, allocations: 39.47 kB / 1.242 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/1.18, allocations: 4 kB / 1.242 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.18, allocations: 0 / 1.242 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/1.18, allocations: 3.938 kB / 1.242 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009863/1.181, allocations: 0.5363 MB / 1.242 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.181, allocations: 0 / 1.242 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007829/1.182, allocations: 63.92 kB / 1.242 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/1.182, allocations: 0 / 1.242 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.124e-05/1.182, allocations: 11.98 kB / 1.242 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/1.182, allocations: 3.938 kB / 1.242 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.182, allocations: 3.938 kB / 1.242 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00308/1.185, allocations: 0.6605 MB / 1.243 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000342/1.186, allocations: 160.8 kB / 1.243 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.31e-05/1.186, allocations: 8 kB / 1.243 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007537/1.186, allocations: 51.94 kB / 1.243 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/1.187, allocations: 15.97 kB / 1.243 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.519e-05/1.187, allocations: 19.92 kB / 1.243 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006354/1.187, allocations: 315.1 kB / 1.243 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.9e-07/1.187, allocations: 4 kB / 1.243 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006768/1.188, allocations: 75.94 kB / 1.243 GB, free: 10.85 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.0004225/1.188, allocations: 147 kB / 1.244 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00347/1.192, allocations: 0.7647 MB / 1.244 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.192, allocations: 0 / 1.244 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00154/1.194, allocations: 323.7 kB / 1.245 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007871/1.194, allocations: 77.38 kB / 1.245 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/1.198, allocations: 0.8307 MB / 1.245 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006644/1.198, allocations: 0.8143 MB / 1.246 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0006853/1.199, allocations: 94.25 kB / 1.246 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/1.199, allocations: 35.42 kB / 1.246 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of SimCode: time 1.764e-06/1.199, allocations: 0 / 1.246 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of Templates: time 0.02306/1.222, allocations: 7.169 MB / 1.253 GB, free: 0.6016 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