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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_latest_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.005065/0.005065, allocations: 108.4 kB / 15.74 MB, free: 5.984 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.001097/0.001097, allocations: 193.4 kB / 16.67 MB, free: 5.906 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 4.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.549/2.549, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 64.12 kB / 1.054 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3091, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003372/0.3125, allocations: 2.146 MB / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002748/0.3153, allocations: 1.846 MB / 1.211 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.3155, allocations: 0 / 1.211 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007758/0.3163, allocations: 231 kB / 1.211 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.3165, allocations: 63.36 kB / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.3177, allocations: 414.9 kB / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006185/0.3184, allocations: 414.7 kB / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.3185, allocations: 40.38 kB / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.3188, allocations: 159.5 kB / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.319, allocations: 155.4 kB / 1.213 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.601e-05/0.3191, allocations: 28 kB / 1.213 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004235/0.3196, allocations: 235.7 kB / 1.213 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.3197, allocations: 123.7 kB / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002057/0.3199, allocations: 167.2 kB / 1.213 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007309/0.3207, allocations: 0.5958 MB / 1.214 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3207, allocations: 0 / 1.214 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.647e-06/0.3207, allocations: 4 kB / 1.214 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.3207, allocations: 0 / 1.214 GB, free: 3.578 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.00137/0.3221, allocations: 0.7061 MB / 1.214 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.3221, allocations: 8.625 kB / 1.214 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.802e-05/0.3222, allocations: 46.69 kB / 1.214 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001749/0.324, allocations: 160.4 kB / 1.215 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000563/0.3245, allocations: 366.3 kB / 1.215 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.3247, allocations: 83.84 kB / 1.215 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.401e-05/0.3247, allocations: 8.375 kB / 1.215 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.3257, allocations: 442.9 kB / 1.215 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3258, allocations: 0 / 1.215 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/0.3258, allocations: 4 kB / 1.215 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.3258, allocations: 4 kB / 1.215 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/0.3274, allocations: 0.5777 MB / 1.216 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.3293, allocations: 1.031 MB / 1.217 GB, free: 16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004718/0.334, allocations: 0.8494 MB / 1.218 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007566/0.3348, allocations: 308.6 kB / 1.218 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.3348, allocations: 8 kB / 1.218 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/0.3359, allocations: 448.2 kB / 1.219 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 3.386e-06/0.3359, allocations: 0 / 1.219 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002563/0.3385, allocations: 0.9207 MB / 1.219 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.3385, allocations: 63.38 kB / 1.22 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005276/0.3391, allocations: 425.6 kB / 1.22 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.135e-05/0.3392, allocations: 37.69 kB / 1.22 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.3393, allocations: 176 kB / 1.22 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.761e-05/0.3394, allocations: 43.36 kB / 1.22 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.3395, allocations: 57.67 kB / 1.22 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3397, allocations: 350.7 kB / 1.221 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008572/0.3406, allocations: 380.6 kB / 1.221 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008213/0.3414, allocations: 371.7 kB / 1.221 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.3429, allocations: 0.5972 MB / 1.222 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3429, allocations: 4 kB / 1.222 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001943/0.3448, allocations: 0.8946 MB / 1.223 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.78e-05/0.3449, allocations: 41.69 kB / 1.223 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3449, allocations: 0 / 1.223 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.345, allocations: 4 kB / 1.223 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004488/0.3454, allocations: 63.91 kB / 1.223 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.3454, allocations: 4 kB / 1.223 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004045/0.3458, allocations: 51.73 kB / 1.223 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/0.3459, allocations: 15.92 kB / 1.223 GB, free: 9.84 MB / 0.9825 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.0002393/0.3461, allocations: 195.8 kB / 1.223 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.456e-05/0.3462, allocations: 31.62 kB / 1.223 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.137e-05/0.3463, allocations: 43.47 kB / 1.223 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3463, allocations: 4 kB / 1.223 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3463, allocations: 0 / 1.223 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.3463, allocations: 7.922 kB / 1.223 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005498/0.3469, allocations: 0.5401 MB / 1.224 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.3469, allocations: 0 / 1.224 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004513/0.3474, allocations: 63.86 kB / 1.224 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.3474, allocations: 7.984 kB / 1.224 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/0.3474, allocations: 15.92 kB / 1.224 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3474, allocations: 0 / 1.224 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3474, allocations: 4 kB / 1.224 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.3491, allocations: 0.6525 MB / 1.224 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002469/0.3493, allocations: 168.6 kB / 1.225 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.875e-05/0.3494, allocations: 3.984 kB / 1.225 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004433/0.3499, allocations: 51.94 kB / 1.225 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.146e-05/0.3499, allocations: 15.98 kB / 1.225 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/0.35, allocations: 11.92 kB / 1.225 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003358/0.3503, allocations: 323.1 kB / 1.225 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3503, allocations: 0 / 1.225 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003677/0.3507, allocations: 84.14 kB / 1.225 GB, free: 7.539 MB / 0.9825 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.002082/0.3528, allocations: 1.231 MB / 1.226 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001769/0.3546, allocations: 0.7606 MB / 1.227 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3546, allocations: 0 / 1.227 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008239/0.3554, allocations: 327.7 kB / 1.227 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.3558, allocations: 81.31 kB / 1.227 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009391/0.3653, allocations: 6.093 MB / 1.233 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.3657, allocations: 0.818 MB / 1.234 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003567/0.366, allocations: 98.25 kB / 1.234 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.3663, allocations: 103.4 kB / 1.234 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of SimCode: time 8.72e-07/0.3663, allocations: 0 / 1.234 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.3959, allocations: 10.97 MB / 1.245 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.813/8.209, allocations: 3.938 kB / 1.245 GB, free: 3.125 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.fmu > 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/jenkins1/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