Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",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.006819/0.006819, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.00166/0.00166, allocations: 196.6 kB / 16.67 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.696/2.696, allocations: 469.4 MB / 0.7421 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 68.06 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2701, allocations: 159.1 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.7268/0.9969, allocations: 174 MB / 1.39 GB, free: 13.82 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.009815/1.007, allocations: 9.497 MB / 1.399 GB, free: 6.129 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003054/1.007, allocations: 11 kB / 1.399 GB, free: 6.125 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006166/1.008, allocations: 194.4 kB / 1.399 GB, free: 5.957 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0002917/1.008, allocations: 93.91 kB / 1.399 GB, free: 5.879 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/1.008, allocations: 67.28 kB / 1.399 GB, free: 5.82 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0004157/1.009, allocations: 321.5 kB / 1.4 GB, free: 5.633 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002902/1.009, allocations: 142.6 kB / 1.4 GB, free: 5.555 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003757/1.009, allocations: 162.3 kB / 1.4 GB, free: 5.461 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/1.01, allocations: 104.2 kB / 1.4 GB, free: 5.391 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/1.01, allocations: 15.56 kB / 1.4 GB, free: 5.391 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 3.794e-05/1.01, allocations: 16.44 kB / 1.4 GB, free: 5.391 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 3.526e-05/1.01, allocations: 34.27 kB / 1.4 GB, free: 5.363 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 9.633e-05/1.01, allocations: 100.8 kB / 1.4 GB, free: 5.297 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0002531/1.01, allocations: 221 kB / 1.4 GB, free: 5.137 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/1.01, allocations: 0 / 1.4 GB, free: 5.137 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.182e-06/1.01, allocations: 0 / 1.4 GB, free: 5.137 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.617e-06/1.01, allocations: 4 kB / 1.4 GB, free: 5.133 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004559/1.01, allocations: 480 kB / 1.401 GB, free: 4.664 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/1.011, allocations: 9.156 kB / 1.401 GB, free: 4.664 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.042e-05/1.011, allocations: 56.88 kB / 1.401 GB, free: 4.605 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/1.011, allocations: 29.05 kB / 1.401 GB, free: 4.59 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/1.011, allocations: 260.8 kB / 1.401 GB, free: 4.328 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/1.011, allocations: 15.22 kB / 1.401 GB, free: 4.32 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/1.011, allocations: 21.41 kB / 1.401 GB, free: 4.312 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/1.011, allocations: 232 kB / 1.401 GB, free: 4.121 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/1.011, allocations: 1.094 kB / 1.401 GB, free: 4.121 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/1.011, allocations: 14.03 kB / 1.401 GB, free: 4.109 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/1.011, allocations: 10.55 kB / 1.401 GB, free: 4.105 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/1.012, allocations: 85.69 kB / 1.402 GB, free: 4.066 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009595/1.013, allocations: 1.442 MB / 1.403 GB, free: 2.645 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 6.795e-05/1.013, allocations: 178.4 kB / 1.403 GB, free: 2.461 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.27e-05/1.013, allocations: 80.14 kB / 1.403 GB, free: 2.379 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/1.013, allocations: 75.28 kB / 1.403 GB, free: 2.305 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/1.013, allocations: 107 kB / 1.403 GB, free: 2.191 MB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/1.013, allocations: 0 / 1.403 GB, free: 2.191 MB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 8.865e-05/1.013, allocations: 63.45 kB / 1.403 GB, free: 2.133 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/1.013, allocations: 132.1 kB / 1.404 GB, free: 1.992 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/1.013, allocations: 283 kB / 1.404 GB, free: 1.809 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/1.013, allocations: 25.7 kB / 1.404 GB, free: 1.777 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/1.013, allocations: 139.1 kB / 1.404 GB, free: 1.648 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 4.389e-06/1.013, allocations: 3.984 kB / 1.404 GB, free: 1.645 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/1.013, allocations: 18.19 kB / 1.404 GB, free: 1.625 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000109/1.013, allocations: 335.1 kB / 1.404 GB, free: 1.293 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/1.014, allocations: 10.11 kB / 1.404 GB, free: 1.285 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.208e-05/1.014, allocations: 23.78 kB / 1.404 GB, free: 1.254 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.86e-05/1.014, allocations: 37.81 kB / 1.404 GB, free: 1.211 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.014, allocations: 1.25 kB / 1.404 GB, free: 1.211 MB / 1.092 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000135/1.014, allocations: 74.23 kB / 1.404 GB, free: 1.156 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/1.014, allocations: 7.344 kB / 1.404 GB, free: 1.156 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/1.014, allocations: 1.188 kB / 1.404 GB, free: 1.156 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/1.014, allocations: 1.438 kB / 1.404 GB, free: 1.156 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.607e-05/1.014, allocations: 10.09 kB / 1.404 GB, free: 1.152 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.882e-06/1.014, allocations: 1.344 kB / 1.404 GB, free: 1.152 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.13e-05/1.014, allocations: 25.61 kB / 1.404 GB, free: 1.133 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/1.014, allocations: 6.156 kB / 1.404 GB, free: 1.129 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0001077/1.014, allocations: 200.2 kB / 1.405 GB, free: 0.9297 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.206e-05/1.014, allocations: 127.9 kB / 1.405 GB, free: 0.8086 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.261e-05/1.014, allocations: 124.8 kB / 1.405 GB, free: 0.6875 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-05/1.014, allocations: 177.5 kB / 1.405 GB, free: 0.5078 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.356e-05/1.014, allocations: 184.1 kB / 1.405 GB, free: 332 kB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.252e-05/1.014, allocations: 184.3 kB / 1.405 GB, free: 140 kB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/1.015, allocations: 474.1 kB / 1.406 GB, free: 15.64 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.45e-05/1.015, allocations: 105.9 kB / 1.406 GB, free: 15.53 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.878e-05/1.015, allocations: 102 kB / 1.406 GB, free: 15.43 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.432e-05/1.015, allocations: 181.1 kB / 1.406 GB, free: 15.24 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.917e-05/1.015, allocations: 185.9 kB / 1.406 GB, free: 15.05 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.203e-05/1.015, allocations: 185 kB / 1.407 GB, free: 14.87 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.407e-05/1.015, allocations: 181.5 kB / 1.407 GB, free: 14.68 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/1.015, allocations: 327.7 kB / 1.407 GB, free: 14.35 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 9.213e-05/1.015, allocations: 207.2 kB / 1.407 GB, free: 14.13 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.872e-05/1.015, allocations: 177.5 kB / 1.407 GB, free: 13.95 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/1.015, allocations: 114.1 kB / 1.408 GB, free: 13.83 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/1.016, allocations: 177.7 kB / 1.408 GB, free: 13.65 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/1.016, allocations: 106.4 kB / 1.408 GB, free: 13.54 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001915/1.016, allocations: 203.4 kB / 1.408 GB, free: 13.41 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.4e-07/1.016, allocations: 0 / 1.408 GB, free: 13.41 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002598/1.016, allocations: 26.44 kB / 1.408 GB, free: 13.41 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003603/1.016, allocations: 0.8349 MB / 1.409 GB, free: 12.57 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 6.091e-05/1.016, allocations: 15.41 kB / 1.409 GB, free: 12.56 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/1.016, allocations: 5.75 kB / 1.409 GB, free: 12.56 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/1.016, allocations: 0 / 1.409 GB, free: 12.56 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007548/1.017, allocations: 0.5298 MB / 1.409 GB, free: 12.07 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/1.019, allocations: 2.24 MB / 1.412 GB, free: 10.27 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/1.02, allocations: 0.7231 MB / 1.412 GB, free: 9.551 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 9.244e-05/1.02, allocations: 21.88 kB / 1.412 GB, free: 9.535 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.723e-05/1.02, allocations: 61.42 kB / 1.412 GB, free: 9.484 MB / 1.107 GB Notification: Performance of SimCode: time 4.11e-07/1.02, allocations: 0 / 1.412 GB, free: 9.484 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/1.041, allocations: 4.696 MB / 1.417 GB, free: 7.137 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.619/8.66, allocations: 9.625 kB / 1.417 GB, free: 7.133 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches