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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001338/0.001337, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001832/0.001832, allocations: 191.3 kB / 16.14 MB, free: 6.645 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.244/1.244, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.27/2.27, allocations: 437 MB / 0.7099 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 67.91 kB / 0.8687 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5855/0.5868, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.00306/0.5899, allocations: 2.197 MB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002294/0.5922, allocations: 1.859 MB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.768e-05/0.5923, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005809/0.5929, allocations: 213.2 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.593, allocations: 51.55 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007651/0.5937, allocations: 384 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003813/0.5941, allocations: 386.8 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.449e-05/0.5942, allocations: 40.33 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.5944, allocations: 139.6 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.5946, allocations: 159.4 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.506e-05/0.5946, allocations: 20 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003275/0.595, allocations: 223.6 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.5951, allocations: 111.7 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.5953, allocations: 159.2 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005505/0.5958, allocations: 0.5686 MB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5958, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.61e-07/0.5958, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.5958, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 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.00106/0.5969, allocations: 0.7023 MB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.5969, allocations: 12.03 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.093e-05/0.597, allocations: 46.75 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/0.5987, allocations: 164.3 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/0.5991, allocations: 370.3 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.242e-05/0.5992, allocations: 79.88 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.5993, allocations: 4.375 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009983/0.6003, allocations: 438.8 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.6003, allocations: 0 / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.523e-05/0.6003, allocations: 11.98 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.6003, allocations: 0 / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.6018, allocations: 0.5854 MB / 1.025 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.6035, allocations: 1.039 MB / 1.026 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005016/0.6085, allocations: 0.8534 MB / 1.027 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006983/0.6092, allocations: 308.6 kB / 1.028 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.6092, allocations: 0 / 1.028 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000917/0.6102, allocations: 443 kB / 1.028 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.6102, allocations: 4 kB / 1.028 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002285/0.6125, allocations: 0.9174 MB / 1.029 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.6125, allocations: 55.39 kB / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004183/0.6129, allocations: 433.5 kB / 1.029 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.15e-05/0.613, allocations: 37.69 kB / 1.029 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.6131, allocations: 172 kB / 1.029 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.677e-05/0.6132, allocations: 55.28 kB / 1.03 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.6133, allocations: 57.67 kB / 1.03 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.6135, allocations: 346.7 kB / 1.03 GB, free: 4.988 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008462/0.6143, allocations: 380.6 kB / 1.03 GB, free: 4.613 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008026/0.6151, allocations: 371.7 kB / 1.031 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.6165, allocations: 0.6019 MB / 1.031 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6165, allocations: 0 / 1.031 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001816/0.6184, allocations: 0.8929 MB / 1.032 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.805e-05/0.6184, allocations: 41.69 kB / 1.032 GB, free: 2.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.6184, allocations: 3.938 kB / 1.032 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.6184, allocations: 3.938 kB / 1.032 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004438/0.6189, allocations: 71.91 kB / 1.032 GB, free: 2.609 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.6189, allocations: 0 / 1.032 GB, free: 2.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/0.6193, allocations: 43.89 kB / 1.032 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/0.6193, allocations: 11.98 kB / 1.032 GB, free: 2.555 MB / 0.7794 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.000209/0.6196, allocations: 190.3 kB / 1.032 GB, free: 2.359 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.6196, allocations: 39.47 kB / 1.033 GB, free: 2.32 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.721e-05/0.6197, allocations: 39.47 kB / 1.033 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.6197, allocations: 4 kB / 1.033 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.6197, allocations: 0 / 1.033 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.6197, allocations: 7.922 kB / 1.033 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005117/0.6202, allocations: 0.5399 MB / 1.033 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.6202, allocations: 0 / 1.033 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004437/0.6207, allocations: 63.92 kB / 1.033 GB, free: 1.617 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.6207, allocations: 3.938 kB / 1.033 GB, free: 1.613 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.6207, allocations: 11.98 kB / 1.033 GB, free: 1.602 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.6207, allocations: 4 kB / 1.033 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.6208, allocations: 3.984 kB / 1.033 GB, free: 1.594 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.6223, allocations: 0.6563 MB / 1.034 GB, free: 0.918 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.6225, allocations: 168.7 kB / 1.034 GB, free: 0.7344 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.16e-05/0.6225, allocations: 7.984 kB / 1.034 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004146/0.623, allocations: 43.94 kB / 1.034 GB, free: 0.6836 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.958e-05/0.623, allocations: 15.98 kB / 1.034 GB, free: 0.668 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.6231, allocations: 15.92 kB / 1.034 GB, free: 0.6523 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003096/0.6234, allocations: 323.1 kB / 1.034 GB, free: 344 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6234, allocations: 0 / 1.034 GB, free: 344 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003446/0.6238, allocations: 80.23 kB / 1.034 GB, free: 264 kB / 0.7794 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.001939/0.6257, allocations: 1.234 MB / 1.036 GB, free: 14.99 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00164/0.6274, allocations: 0.758 MB / 1.036 GB, free: 14.22 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6274, allocations: 4 kB / 1.036 GB, free: 14.22 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0007476/0.6281, allocations: 327.7 kB / 1.037 GB, free: 13.9 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.6286, allocations: 72.3 kB / 1.037 GB, free: 13.83 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00926/0.6378, allocations: 6.196 MB / 1.043 GB, free: 7.562 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.6382, allocations: 0.8104 MB / 1.044 GB, free: 6.727 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004292/0.6386, allocations: 102.2 kB / 1.044 GB, free: 6.625 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.6388, allocations: 107.4 kB / 1.044 GB, free: 6.52 MB / 0.795 GB Notification: Performance of SimCode: time 4.2e-07/0.6388, allocations: 3.938 kB / 1.044 GB, free: 6.516 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5003/1.139, allocations: 10.15 MB / 1.054 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002653/1.139, allocations: 225.6 kB / 1.054 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/3.105, allocations: 0 / 1.054 GB, free: 12.3 MB / 0.8106 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