Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008776/0.008776, allocations: 101.1 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.001981/0.001981, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.545/2.545, allocations: 437.1 MB / 0.7105 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 64.09 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3159, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003618/0.3196, allocations: 2.136 MB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002842/0.3225, allocations: 1.854 MB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002032/0.3227, allocations: 3.938 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007736/0.3235, allocations: 221.6 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002094/0.3237, allocations: 67.41 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.3249, allocations: 430.2 kB / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006017/0.3255, allocations: 406.8 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.3257, allocations: 32.41 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.3259, allocations: 163.5 kB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.3262, allocations: 155.5 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.937e-05/0.3263, allocations: 24 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004524/0.3267, allocations: 243.7 kB / 1.172 GB, free: 1.582 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.3269, allocations: 111.7 kB / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.3271, allocations: 167.1 kB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007327/0.3279, allocations: 0.6006 MB / 1.173 GB, free: 0.707 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3279, allocations: 4 kB / 1.173 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3279, allocations: 0 / 1.173 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.3279, allocations: 4 kB / 1.173 GB, free: 0.6992 MB / 0.92 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.00129/0.3292, allocations: 0.7047 MB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.3293, allocations: 8.031 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.023e-05/0.3293, allocations: 38.75 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001668/0.331, allocations: 164.4 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005302/0.3316, allocations: 362.3 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.3317, allocations: 75.94 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.3317, allocations: 12.31 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009666/0.3327, allocations: 445.1 kB / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3327, allocations: 4 kB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.3328, allocations: 3.984 kB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.3328, allocations: 8 kB / 1.174 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.3343, allocations: 0.5777 MB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.3362, allocations: 1.05 MB / 1.176 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004682/0.3409, allocations: 0.8378 MB / 1.177 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007978/0.3417, allocations: 312.9 kB / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.3418, allocations: 11.92 kB / 1.177 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.3428, allocations: 439 kB / 1.177 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 3.867e-06/0.3428, allocations: 0 / 1.177 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002359/0.3452, allocations: 0.9239 MB / 1.178 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.3453, allocations: 55.41 kB / 1.178 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005614/0.3459, allocations: 433.6 kB / 1.179 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.442e-05/0.3459, allocations: 33.7 kB / 1.179 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.3461, allocations: 176.1 kB / 1.179 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.15e-05/0.3462, allocations: 47.36 kB / 1.179 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.3463, allocations: 53.58 kB / 1.179 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3465, allocations: 354.7 kB / 1.179 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008198/0.3473, allocations: 376.6 kB / 1.18 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007902/0.3481, allocations: 369.6 kB / 1.18 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.3495, allocations: 0.6019 MB / 1.181 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3495, allocations: 0 / 1.181 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001834/0.3514, allocations: 0.9007 MB / 1.182 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.835e-05/0.3514, allocations: 41.69 kB / 1.182 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.3515, allocations: 0 / 1.182 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.3515, allocations: 4 kB / 1.182 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004514/0.3519, allocations: 67.84 kB / 1.182 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.352, allocations: 7.938 kB / 1.182 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004045/0.3524, allocations: 43.8 kB / 1.182 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.516e-05/0.3524, allocations: 15.98 kB / 1.182 GB, free: 6.949 MB / 0.9356 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.0002655/0.3527, allocations: 188.4 kB / 1.182 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.3528, allocations: 31.62 kB / 1.182 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.369e-05/0.3529, allocations: 43.47 kB / 1.182 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3529, allocations: 0 / 1.182 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3529, allocations: 0 / 1.182 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3529, allocations: 3.938 kB / 1.182 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005886/0.3535, allocations: 0.5401 MB / 1.183 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.3535, allocations: 0 / 1.183 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004337/0.354, allocations: 67.86 kB / 1.183 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.354, allocations: 0 / 1.183 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/0.354, allocations: 11.98 kB / 1.183 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.354, allocations: 0 / 1.183 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.354, allocations: 0 / 1.183 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.3556, allocations: 0.654 MB / 1.183 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/0.3558, allocations: 172.6 kB / 1.183 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-05/0.3559, allocations: 11.98 kB / 1.184 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004067/0.3563, allocations: 39.95 kB / 1.184 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.129e-05/0.3564, allocations: 19.97 kB / 1.184 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.661e-05/0.3565, allocations: 15.92 kB / 1.184 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003483/0.3568, allocations: 327 kB / 1.184 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3568, allocations: 0 / 1.184 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004028/0.3572, allocations: 72 kB / 1.184 GB, free: 4.684 MB / 0.9356 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.00199/0.3592, allocations: 1.242 MB / 1.185 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001667/0.3609, allocations: 0.7606 MB / 1.186 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.3609, allocations: 4 kB / 1.186 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007429/0.3617, allocations: 327.7 kB / 1.186 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.3622, allocations: 82.94 kB / 1.186 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009501/0.3717, allocations: 6.09 MB / 1.192 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.3721, allocations: 0.8143 MB / 1.193 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003562/0.3724, allocations: 98.25 kB / 1.193 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.3727, allocations: 99.38 kB / 1.193 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of SimCode: time 8.02e-07/0.3727, allocations: 0 / 1.193 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/0.4025, allocations: 10.8 MB / 1.204 GB, free: 428 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.884/8.287, allocations: 8.062 kB / 1.204 GB, free: 420 kB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.fmu > Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches