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.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.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.001681/0.001681, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002042/0.002042, allocations: 192 kB / 16.53 MB, free: 6.391 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.725/2.725, allocations: 469.4 MB / 0.742 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 62.75 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2545, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1657/0.4202, allocations: 174 MB / 1.234 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009053/0.4293, allocations: 9.518 MB / 1.243 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000259/0.4296, allocations: 11.94 kB / 1.243 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005157/0.4301, allocations: 186.7 kB / 1.243 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.4304, allocations: 95.25 kB / 1.243 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.4306, allocations: 63.92 kB / 1.243 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003704/0.431, allocations: 330.6 kB / 1.244 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003501/0.4313, allocations: 208.9 kB / 1.244 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003204/0.4317, allocations: 163.4 kB / 1.244 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.4318, allocations: 127.4 kB / 1.244 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.4319, allocations: 24 kB / 1.244 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.909e-05/0.4319, allocations: 24 kB / 1.244 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.481e-05/0.432, allocations: 79.75 kB / 1.244 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.4321, allocations: 123.4 kB / 1.244 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.4324, allocations: 267.1 kB / 1.245 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.4324, allocations: 0 / 1.245 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4324, allocations: 4 kB / 1.245 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.4324, allocations: 0 / 1.245 GB, free: 4.598 MB / 0.9981 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.0004611/0.4329, allocations: 0.5146 MB / 1.245 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.4329, allocations: 8.031 kB / 1.245 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.716e-05/0.433, allocations: 62.55 kB / 1.245 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.433, allocations: 35.56 kB / 1.245 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.4333, allocations: 268.9 kB / 1.245 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.4333, allocations: 20.56 kB / 1.245 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.4334, allocations: 28 kB / 1.245 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004045/0.4338, allocations: 316 kB / 1.246 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4338, allocations: 3.938 kB / 1.246 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.4338, allocations: 15.98 kB / 1.246 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.4338, allocations: 11.94 kB / 1.246 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000218/0.4341, allocations: 147.7 kB / 1.246 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.4352, allocations: 1.812 MB / 1.248 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.164e-05/0.4353, allocations: 173.1 kB / 1.248 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.766e-05/0.4354, allocations: 84.08 kB / 1.248 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.4354, allocations: 75.28 kB / 1.248 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.4354, allocations: 113.8 kB / 1.248 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.342e-06/0.4354, allocations: 4 kB / 1.248 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.7e-05/0.4355, allocations: 49.42 kB / 1.248 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.4356, allocations: 126.7 kB / 1.248 GB, free: 492 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003616/0.4359, allocations: 377.6 kB / 1.249 GB, free: 112 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.717e-06/0.436, allocations: 25.7 kB / 1.249 GB, free: 80 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.4288/0.8648, allocations: 160.8 kB / 1.249 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.861e-06/0.8648, allocations: 0.875 kB / 1.249 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.274e-05/0.8649, allocations: 17.61 kB / 1.249 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.952e-05/0.865, allocations: 340.3 kB / 1.249 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.772e-05/0.865, allocations: 7.531 kB / 1.249 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.723e-05/0.865, allocations: 39.92 kB / 1.249 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.782e-05/0.8651, allocations: 42.38 kB / 1.249 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8651, allocations: 0.9688 kB / 1.249 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001807/0.8653, allocations: 92.03 kB / 1.249 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.8653, allocations: 6.359 kB / 1.249 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.8653, allocations: 0.875 kB / 1.249 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.8653, allocations: 2.438 kB / 1.249 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.711e-05/0.8654, allocations: 11.45 kB / 1.249 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.8654, allocations: 6.656 kB / 1.249 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.639e-05/0.8655, allocations: 30.31 kB / 1.249 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.8655, allocations: 2.438 kB / 1.249 GB, free: 191.3 MB / 0.9981 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 9.553e-05/0.8656, allocations: 215.4 kB / 1.25 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.626e-05/0.8657, allocations: 131.5 kB / 1.25 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.925e-05/0.8657, allocations: 129.6 kB / 1.25 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/0.8658, allocations: 184.7 kB / 1.25 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.041e-05/0.8658, allocations: 182.8 kB / 1.25 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.917e-05/0.8658, allocations: 182.9 kB / 1.25 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.866, allocations: 493.6 kB / 1.251 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.8661, allocations: 105.9 kB / 1.251 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-05/0.8661, allocations: 107.4 kB / 1.251 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.016e-05/0.8661, allocations: 180.7 kB / 1.251 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.8661, allocations: 178.4 kB / 1.251 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.856e-05/0.8662, allocations: 189.1 kB / 1.252 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.951e-05/0.8662, allocations: 180.7 kB / 1.252 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.513e-05/0.8663, allocations: 333.3 kB / 1.252 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-05/0.8663, allocations: 206 kB / 1.252 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/0.8664, allocations: 185.2 kB / 1.252 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.626e-05/0.8665, allocations: 109.4 kB / 1.253 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.8665, allocations: 181.8 kB / 1.253 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.8665, allocations: 104.9 kB / 1.253 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000255/0.8668, allocations: 269.1 kB / 1.253 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8668, allocations: 0 / 1.253 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002722/0.8671, allocations: 30.62 kB / 1.253 GB, free: 187.7 MB / 0.9981 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.0002144/0.8673, allocations: 0.8377 MB / 1.254 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.641e-05/0.8674, allocations: 17.52 kB / 1.254 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8674, allocations: 3.656 kB / 1.254 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.8674, allocations: 4.906 kB / 1.254 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007593/0.8681, allocations: 0.5449 MB / 1.254 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.8705, allocations: 2.718 MB / 1.257 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.8706, allocations: 0.7533 MB / 1.258 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001056/0.8708, allocations: 32.88 kB / 1.258 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.008e-05/0.8708, allocations: 76.08 kB / 1.258 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/0.8708, allocations: 0 / 1.258 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.8934, allocations: 5.848 MB / 1.264 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.184/8.077, allocations: 4.5 kB / 1.264 GB, free: 183.6 MB / 0.9981 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