Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.InletToAirMoistAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.007878/0.007878, allocations: 104.8 kB / 15.74 MB, free: 6.062 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.002282/0.002282, allocations: 194.7 kB / 16.67 MB, free: 5.973 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.648/2.648, allocations: 469.4 MB / 0.7422 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 64.09 kB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2635, allocations: 159.1 MB / 1.22 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.7112/0.9747, allocations: 174 MB / 1.39 GB, free: 13.75 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.00891/0.9836, allocations: 9.521 MB / 1.399 GB, free: 6.031 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002375/0.9839, allocations: 10.41 kB / 1.399 GB, free: 6.027 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005037/0.9844, allocations: 194.1 kB / 1.399 GB, free: 5.859 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.9847, allocations: 89.25 kB / 1.399 GB, free: 5.785 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.9848, allocations: 65.52 kB / 1.399 GB, free: 5.73 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0003489/0.9852, allocations: 321.9 kB / 1.4 GB, free: 5.547 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003237/0.9855, allocations: 204.9 kB / 1.4 GB, free: 5.438 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002963/0.9858, allocations: 173.4 kB / 1.4 GB, free: 5.336 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.986, allocations: 117.5 kB / 1.4 GB, free: 5.258 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 3.204e-05/0.986, allocations: 21.59 kB / 1.4 GB, free: 5.258 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 3.652e-05/0.986, allocations: 22.06 kB / 1.4 GB, free: 5.258 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 8.302e-05/0.9861, allocations: 72.47 kB / 1.4 GB, free: 5.207 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.9862, allocations: 124.6 kB / 1.4 GB, free: 5.125 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0002841/0.9865, allocations: 304.8 kB / 1.401 GB, free: 4.902 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.9865, allocations: 0 / 1.401 GB, free: 4.902 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9866, allocations: 5.094 kB / 1.401 GB, free: 4.898 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.9866, allocations: 0 / 1.401 GB, free: 4.898 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0004588/0.987, allocations: 0.5144 MB / 1.401 GB, free: 4.402 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.9871, allocations: 10.16 kB / 1.401 GB, free: 4.402 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.712e-05/0.9871, allocations: 63.14 kB / 1.401 GB, free: 4.34 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.9872, allocations: 34.97 kB / 1.401 GB, free: 4.32 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.9875, allocations: 281.2 kB / 1.402 GB, free: 4.043 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.9876, allocations: 19.09 kB / 1.402 GB, free: 4.031 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.9876, allocations: 25.66 kB / 1.402 GB, free: 4.023 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004289/0.988, allocations: 327.1 kB / 1.402 GB, free: 3.762 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.9881, allocations: 5.312 kB / 1.402 GB, free: 3.758 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.9881, allocations: 11.03 kB / 1.402 GB, free: 3.75 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.9881, allocations: 8.062 kB / 1.402 GB, free: 3.75 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002167/0.9883, allocations: 142.8 kB / 1.402 GB, free: 3.68 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.9895, allocations: 1.823 MB / 1.404 GB, free: 1.918 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 6.777e-05/0.9896, allocations: 165.8 kB / 1.404 GB, free: 1.746 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/0.9896, allocations: 89.7 kB / 1.404 GB, free: 1.656 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.9896, allocations: 79.22 kB / 1.404 GB, free: 1.578 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.9897, allocations: 113.8 kB / 1.404 GB, free: 1.457 MB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.9897, allocations: 1.5 kB / 1.404 GB, free: 1.457 MB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 8.249e-05/0.9898, allocations: 53.3 kB / 1.404 GB, free: 1.41 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.9898, allocations: 127.9 kB / 1.404 GB, free: 1.273 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003797/0.9902, allocations: 376.8 kB / 1.405 GB, free: 1.039 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.9902, allocations: 25.81 kB / 1.405 GB, free: 1.008 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.9903, allocations: 178.6 kB / 1.405 GB, free: 0.8438 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.9903, allocations: 0 / 1.405 GB, free: 0.8438 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.9904, allocations: 22.2 kB / 1.405 GB, free: 0.8203 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.9905, allocations: 333.4 kB / 1.405 GB, free: 0.4922 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.9905, allocations: 10.62 kB / 1.405 GB, free: 496 kB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.866e-05/0.9906, allocations: 43.25 kB / 1.405 GB, free: 444 kB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.704e-05/0.9906, allocations: 40.42 kB / 1.405 GB, free: 396 kB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9906, allocations: 1.25 kB / 1.405 GB, free: 396 kB / 1.092 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001366/0.9908, allocations: 91.17 kB / 1.406 GB, free: 328 kB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.9908, allocations: 6.281 kB / 1.406 GB, free: 328 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.9908, allocations: 1 kB / 1.406 GB, free: 328 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.9908, allocations: 2.5 kB / 1.406 GB, free: 328 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.473e-05/0.9909, allocations: 10.2 kB / 1.406 GB, free: 324 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.9909, allocations: 3.031 kB / 1.406 GB, free: 324 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.638e-05/0.991, allocations: 27.64 kB / 1.406 GB, free: 304 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.991, allocations: 6.375 kB / 1.406 GB, free: 300 kB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001171/0.9911, allocations: 214.5 kB / 1.406 GB, free: 88 kB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.682e-05/0.9912, allocations: 138.5 kB / 1.406 GB, free: 15.96 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.828e-05/0.9913, allocations: 124.8 kB / 1.406 GB, free: 15.84 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.306e-05/0.9913, allocations: 185.3 kB / 1.406 GB, free: 15.65 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.226e-05/0.9914, allocations: 177.6 kB / 1.406 GB, free: 15.47 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.224e-05/0.9914, allocations: 187.5 kB / 1.407 GB, free: 15.29 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.9917, allocations: 491.5 kB / 1.407 GB, free: 14.78 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.963e-05/0.9918, allocations: 106.4 kB / 1.407 GB, free: 14.67 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-05/0.9918, allocations: 105.1 kB / 1.407 GB, free: 14.56 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-05/0.9918, allocations: 181.6 kB / 1.407 GB, free: 14.38 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.464e-05/0.9919, allocations: 185.8 kB / 1.408 GB, free: 14.19 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.204e-05/0.992, allocations: 189.4 kB / 1.408 GB, free: 14 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.805e-05/0.992, allocations: 177.6 kB / 1.408 GB, free: 13.82 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.9921, allocations: 327.5 kB / 1.408 GB, free: 13.49 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.9923, allocations: 210.2 kB / 1.408 GB, free: 13.27 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.314e-05/0.9923, allocations: 193.7 kB / 1.409 GB, free: 13.07 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.9925, allocations: 102.4 kB / 1.409 GB, free: 12.97 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.9925, allocations: 180.2 kB / 1.409 GB, free: 12.79 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.9925, allocations: 102.5 kB / 1.409 GB, free: 12.68 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002549/0.9928, allocations: 270 kB / 1.409 GB, free: 12.51 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9928, allocations: 8.844 kB / 1.409 GB, free: 12.5 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002695/0.9931, allocations: 32.56 kB / 1.409 GB, free: 12.5 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.0003436/0.9934, allocations: 0.8411 MB / 1.41 GB, free: 11.66 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 6.182e-05/0.9935, allocations: 13.47 kB / 1.41 GB, free: 11.66 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.9935, allocations: 0 / 1.41 GB, free: 11.66 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.9935, allocations: 4.312 kB / 1.41 GB, free: 11.65 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007659/0.9943, allocations: 0.5487 MB / 1.411 GB, free: 11.15 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/0.9968, allocations: 2.702 MB / 1.413 GB, free: 9.121 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.9971, allocations: 0.7499 MB / 1.414 GB, free: 8.391 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 9.609e-05/0.9972, allocations: 33.72 kB / 1.414 GB, free: 8.379 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.373e-05/0.9973, allocations: 75.86 kB / 1.414 GB, free: 8.316 MB / 1.107 GB Notification: Performance of SimCode: time 2.61e-07/0.9973, allocations: 0 / 1.414 GB, free: 8.316 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0268/1.024, allocations: 5.917 MB / 1.42 GB, free: 5.414 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.907/8.931, allocations: 11.69 kB / 1.42 GB, free: 5.41 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_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_InletToAirMoistAirCO2.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches