Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_9_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.007746/0.007746, allocations: 101 kB / 15.73 MB, free: 6.047 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.00193/0.00193, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.314/2.314, allocations: 390.3 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67 kB / 0.9504 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2271, allocations: 140.4 MB / 1.088 GB, free: 1.922 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1645/0.3917, allocations: 174 MB / 1.257 GB, free: 3.219 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.5324/0.9241, allocations: 9.508 MB / 1.267 GB, free: 3.145 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002245/0.9243, allocations: 9.344 kB / 1.267 GB, free: 3.145 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004792/0.9249, allocations: 196 kB / 1.267 GB, free: 3.145 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.9251, allocations: 91.47 kB / 1.267 GB, free: 3.145 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.9252, allocations: 62.75 kB / 1.267 GB, free: 3.145 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003495/0.9256, allocations: 328.3 kB / 1.267 GB, free: 3.145 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003224/0.9259, allocations: 201.5 kB / 1.268 GB, free: 3.133 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003017/0.9262, allocations: 173.4 kB / 1.268 GB, free: 3.133 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.9264, allocations: 120.9 kB / 1.268 GB, free: 3.133 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.9264, allocations: 22.5 kB / 1.268 GB, free: 3.133 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.181e-05/0.9265, allocations: 21.62 kB / 1.268 GB, free: 3.133 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.001e-05/0.9266, allocations: 75.33 kB / 1.268 GB, free: 3.133 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.9267, allocations: 128 kB / 1.268 GB, free: 3.133 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.927, allocations: 297.4 kB / 1.268 GB, free: 3.125 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.927, allocations: 0.6875 kB / 1.268 GB, free: 3.125 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.163e-06/0.927, allocations: 3.375 kB / 1.268 GB, free: 3.125 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.9271, allocations: 1.844 kB / 1.268 GB, free: 3.125 MB / 1.014 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.0004118/0.9275, allocations: 0.5132 MB / 1.269 GB, free: 2.715 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.9275, allocations: 10.16 kB / 1.269 GB, free: 2.715 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.483e-05/0.9276, allocations: 61.78 kB / 1.269 GB, free: 2.676 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.744e-05/0.9276, allocations: 34.09 kB / 1.269 GB, free: 2.66 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.9279, allocations: 274.6 kB / 1.269 GB, free: 2.449 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.928, allocations: 21.75 kB / 1.269 GB, free: 2.449 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.928, allocations: 23.31 kB / 1.269 GB, free: 2.449 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.9284, allocations: 327.2 kB / 1.27 GB, free: 2.309 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.9284, allocations: 2.938 kB / 1.27 GB, free: 2.309 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.9285, allocations: 10.84 kB / 1.27 GB, free: 2.309 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.9285, allocations: 12.86 kB / 1.27 GB, free: 2.309 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.9287, allocations: 146.3 kB / 1.27 GB, free: 2.309 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.9298, allocations: 1.818 MB / 1.272 GB, free: 16.83 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.516e-05/0.9299, allocations: 171.6 kB / 1.272 GB, free: 16.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.778e-05/0.9299, allocations: 80.92 kB / 1.272 GB, free: 16.57 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-05/0.93, allocations: 77.31 kB / 1.272 GB, free: 16.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.9301, allocations: 111.1 kB / 1.272 GB, free: 16.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.9301, allocations: 0 / 1.272 GB, free: 16.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.156e-05/0.9302, allocations: 50.59 kB / 1.272 GB, free: 16.34 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.717e-05/0.9303, allocations: 131.9 kB / 1.272 GB, free: 16.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003697/0.9306, allocations: 376.7 kB / 1.273 GB, free: 16.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.9306, allocations: 25.7 kB / 1.273 GB, free: 16.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.622e-05/0.9307, allocations: 169.3 kB / 1.273 GB, free: 15.97 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.466e-06/0.9308, allocations: 2.156 kB / 1.273 GB, free: 15.97 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.9308, allocations: 20.03 kB / 1.273 GB, free: 15.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.9309, allocations: 336.6 kB / 1.273 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/0.931, allocations: 11.27 kB / 1.273 GB, free: 15.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.091e-05/0.931, allocations: 32.61 kB / 1.273 GB, free: 15.6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.419e-05/0.931, allocations: 48.52 kB / 1.273 GB, free: 15.56 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.9311, allocations: 0.9688 kB / 1.273 GB, free: 15.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001406/0.9312, allocations: 87.17 kB / 1.273 GB, free: 15.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.9312, allocations: 12.44 kB / 1.273 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.9312, allocations: 1.531 kB / 1.273 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.9312, allocations: 3.203 kB / 1.273 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.701e-05/0.9313, allocations: 12.97 kB / 1.273 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.9313, allocations: 5.594 kB / 1.273 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.102e-05/0.9314, allocations: 23.72 kB / 1.273 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.9314, allocations: 3.188 kB / 1.273 GB, free: 15.49 MB / 1.029 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.0001228/0.9315, allocations: 214.4 kB / 1.273 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.319e-05/0.9316, allocations: 135.5 kB / 1.274 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.307e-05/0.9317, allocations: 129.6 kB / 1.274 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.866e-05/0.9318, allocations: 182.5 kB / 1.274 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.098e-05/0.9318, allocations: 183.1 kB / 1.274 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.695e-05/0.9319, allocations: 183.2 kB / 1.274 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.9322, allocations: 486.7 kB / 1.275 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.215e-05/0.9322, allocations: 112.3 kB / 1.275 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.771e-05/0.9323, allocations: 104.8 kB / 1.275 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.666e-05/0.9323, allocations: 182.5 kB / 1.275 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.246e-05/0.9324, allocations: 177.7 kB / 1.275 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.848e-05/0.9325, allocations: 182.9 kB / 1.275 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.329e-05/0.9326, allocations: 183.4 kB / 1.276 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.9328, allocations: 331.9 kB / 1.276 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.9329, allocations: 213.4 kB / 1.276 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.554e-05/0.933, allocations: 184.5 kB / 1.276 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.9331, allocations: 106.6 kB / 1.276 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.9332, allocations: 189.5 kB / 1.277 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.9332, allocations: 104.2 kB / 1.277 GB, free: 12.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002686/0.9335, allocations: 269.4 kB / 1.277 GB, free: 11.96 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9335, allocations: 0.7188 kB / 1.277 GB, free: 11.96 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002726/0.9338, allocations: 31.44 kB / 1.277 GB, free: 11.95 MB / 1.029 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.0004733/0.9343, allocations: 0.8328 MB / 1.278 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.815e-05/0.9343, allocations: 17.91 kB / 1.278 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.9343, allocations: 1 kB / 1.278 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.9343, allocations: 0.7188 kB / 1.278 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007949/0.9351, allocations: 0.5527 MB / 1.278 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00269/0.9378, allocations: 2.689 MB / 1.281 GB, free: 9.184 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.9382, allocations: 0.7521 MB / 1.282 GB, free: 8.488 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000103/0.9384, allocations: 32.75 kB / 1.282 GB, free: 8.484 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.171e-05/0.9384, allocations: 74.06 kB / 1.282 GB, free: 8.477 MB / 1.029 GB Notification: Performance of SimCode: time 2.4e-07/0.9384, allocations: 1.031 kB / 1.282 GB, free: 8.477 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.9608, allocations: 5.909 MB / 1.288 GB, free: 7.992 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.587/8.548, allocations: 12.53 kB / 1.288 GB, free: 7.984 MB / 1.029 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches