Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_11_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.001964/0.001964, allocations: 108 kB / 15.61 MB, free: 152 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.002145/0.002145, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.427/1.427, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.844/2.844, allocations: 469.8 MB / 0.7424 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 72.78 kB / 0.9087 GB, free: 34.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2518, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1948/0.4467, allocations: 174.1 MB / 1.234 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01026/0.457, allocations: 9.514 MB / 1.243 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.4571, allocations: 4 kB / 1.243 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004547/0.4576, allocations: 194.6 kB / 1.244 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001903/0.4578, allocations: 83.38 kB / 1.244 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.458, allocations: 75.84 kB / 1.244 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003842/0.4584, allocations: 326.7 kB / 1.244 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003552/0.4588, allocations: 212.9 kB / 1.244 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003116/0.4591, allocations: 171.3 kB / 1.244 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.4592, allocations: 111.5 kB / 1.244 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.586e-05/0.4593, allocations: 24 kB / 1.244 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.833e-05/0.4593, allocations: 20 kB / 1.245 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.609e-05/0.4594, allocations: 75.75 kB / 1.245 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.4596, allocations: 127.4 kB / 1.245 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.4599, allocations: 271.1 kB / 1.245 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4599, allocations: 0 / 1.245 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4599, allocations: 4 kB / 1.245 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.4599, allocations: 0 / 1.245 GB, free: 4.27 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.0005468/0.4604, allocations: 0.5146 MB / 1.245 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.4605, allocations: 8.031 kB / 1.245 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.784e-05/0.4606, allocations: 66.53 kB / 1.246 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.377e-05/0.4606, allocations: 35.56 kB / 1.246 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.4609, allocations: 262.5 kB / 1.246 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.461, allocations: 20.56 kB / 1.246 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.461, allocations: 24 kB / 1.246 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004757/0.4615, allocations: 327.9 kB / 1.246 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4615, allocations: 4 kB / 1.246 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.4615, allocations: 12 kB / 1.246 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.4615, allocations: 15.88 kB / 1.246 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002391/0.4618, allocations: 143.8 kB / 1.246 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.4632, allocations: 1.812 MB / 1.248 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.288e-05/0.4633, allocations: 173 kB / 1.248 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.966e-05/0.4633, allocations: 88.08 kB / 1.248 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/0.4634, allocations: 79.27 kB / 1.248 GB, free: 468 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.699e-05/0.4634, allocations: 109.8 kB / 1.249 GB, free: 348 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.4634, allocations: 0 / 1.249 GB, free: 348 kB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 9.254e-05/0.4635, allocations: 53.42 kB / 1.249 GB, free: 288 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.4636, allocations: 130.6 kB / 1.249 GB, free: 144 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3956/0.8593, allocations: 373.4 kB / 1.249 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.061e-06/0.8593, allocations: 27.36 kB / 1.249 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.8594, allocations: 162.2 kB / 1.249 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-06/0.8594, allocations: 1.578 kB / 1.249 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.8595, allocations: 19.47 kB / 1.249 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.094e-05/0.8595, allocations: 339.3 kB / 1.25 GB, free: 191 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.777e-05/0.8596, allocations: 3.516 kB / 1.25 GB, free: 191 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.588e-05/0.8596, allocations: 37.14 kB / 1.25 GB, free: 191 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.697e-05/0.8596, allocations: 45.39 kB / 1.25 GB, free: 191 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.8597, allocations: 1.281 kB / 1.25 GB, free: 191 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000167/0.8598, allocations: 85.27 kB / 1.25 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.8598, allocations: 6.969 kB / 1.25 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.8599, allocations: 1.625 kB / 1.25 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.8599, allocations: 3.656 kB / 1.25 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.801e-05/0.86, allocations: 15.58 kB / 1.25 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.86, allocations: 1.344 kB / 1.25 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.054e-05/0.8601, allocations: 34.67 kB / 1.25 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-06/0.8601, allocations: 6.672 kB / 1.25 GB, free: 190.9 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 8.957e-05/0.8602, allocations: 211.6 kB / 1.25 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.753e-05/0.8602, allocations: 133.8 kB / 1.25 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.716e-05/0.8603, allocations: 124.4 kB / 1.25 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.8603, allocations: 188.8 kB / 1.25 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.036e-05/0.8603, allocations: 181.8 kB / 1.251 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.936e-05/0.8604, allocations: 185.5 kB / 1.251 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.8606, allocations: 489.1 kB / 1.251 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.8606, allocations: 106.6 kB / 1.251 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.174e-05/0.8606, allocations: 105.5 kB / 1.251 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.907e-05/0.8607, allocations: 177.9 kB / 1.252 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.8607, allocations: 182 kB / 1.252 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.857e-05/0.8607, allocations: 181.6 kB / 1.252 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.016e-05/0.8607, allocations: 188.9 kB / 1.252 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.88e-05/0.8608, allocations: 328 kB / 1.252 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.741e-05/0.8609, allocations: 212.7 kB / 1.253 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.979e-05/0.8609, allocations: 179.8 kB / 1.253 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-05/0.861, allocations: 114 kB / 1.253 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.8611, allocations: 181.9 kB / 1.253 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.8611, allocations: 101 kB / 1.253 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002684/0.8614, allocations: 274.2 kB / 1.254 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8614, allocations: 0 / 1.254 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000275/0.8616, allocations: 28.31 kB / 1.254 GB, free: 187.4 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.0002326/0.8619, allocations: 0.8374 MB / 1.254 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.554e-05/0.862, allocations: 18.67 kB / 1.254 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.862, allocations: 0 / 1.254 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.862, allocations: 0 / 1.254 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007608/0.8627, allocations: 0.5553 MB / 1.255 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.8652, allocations: 2.713 MB / 1.258 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.8653, allocations: 0.7534 MB / 1.258 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001198/0.8655, allocations: 35.5 kB / 1.258 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.842e-05/0.8655, allocations: 74.34 kB / 1.258 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of SimCode: time 3.4e-07/0.8655, allocations: 1.062 kB / 1.258 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/0.8934, allocations: 5.84 MB / 1.264 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.547/8.44, allocations: 11.98 kB / 1.264 GB, free: 183.2 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches