Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.InletToAirMoistAir,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_9_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.004112/0.004112, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.00116/0.00116, allocations: 195.5 kB / 16.67 MB, free: 5.52 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.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.185/2.185, allocations: 390.3 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 71.88 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6539/0.6553, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1841/0.8394, allocations: 174 MB / 1.257 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009016/0.8485, allocations: 9.511 MB / 1.267 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.8488, allocations: 7.938 kB / 1.267 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005645/0.8494, allocations: 198.7 kB / 1.267 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002509/0.8497, allocations: 83.38 kB / 1.267 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.8498, allocations: 67.86 kB / 1.267 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003665/0.8502, allocations: 322.7 kB / 1.267 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000268/0.8505, allocations: 148.5 kB / 1.267 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003377/0.8508, allocations: 159.4 kB / 1.268 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.851, allocations: 103.4 kB / 1.268 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.851, allocations: 16 kB / 1.268 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.894e-05/0.851, allocations: 16 kB / 1.268 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.973e-05/0.8511, allocations: 47.83 kB / 1.268 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.162e-05/0.8512, allocations: 99.48 kB / 1.268 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.8514, allocations: 211.2 kB / 1.268 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.8514, allocations: 4 kB / 1.268 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8514, allocations: 0 / 1.268 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.8514, allocations: 0 / 1.268 GB, free: 4.816 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004344/0.8518, allocations: 471 kB / 1.269 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.8519, allocations: 12.03 kB / 1.269 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.257e-05/0.852, allocations: 54.55 kB / 1.269 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.852, allocations: 27.66 kB / 1.269 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.8524, allocations: 262.5 kB / 1.269 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.8524, allocations: 16.44 kB / 1.269 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.8524, allocations: 16 kB / 1.269 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.8527, allocations: 231.8 kB / 1.269 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.8527, allocations: 0 / 1.269 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.8528, allocations: 15.94 kB / 1.269 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.8528, allocations: 4 kB / 1.269 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.8529, allocations: 95.77 kB / 1.269 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009778/0.8539, allocations: 1.433 MB / 1.271 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.125e-05/0.854, allocations: 173.2 kB / 1.271 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.134e-05/0.854, allocations: 88.11 kB / 1.271 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.8541, allocations: 75.28 kB / 1.271 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.8541, allocations: 113.8 kB / 1.271 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.8541, allocations: 0 / 1.271 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 9.692e-05/0.8542, allocations: 45.45 kB / 1.271 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.8543, allocations: 126.7 kB / 1.271 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.8546, allocations: 291 kB / 1.272 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.8546, allocations: 25.7 kB / 1.272 GB, free: 1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.812e-05/0.8547, allocations: 147.8 kB / 1.272 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-06/0.8547, allocations: 0 / 1.272 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.8548, allocations: 21.72 kB / 1.272 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.8549, allocations: 334.8 kB / 1.272 GB, free: 500 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.44e-05/0.8549, allocations: 4 kB / 1.272 GB, free: 496 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.355e-05/0.8549, allocations: 27.44 kB / 1.272 GB, free: 456 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.266e-05/0.855, allocations: 47.36 kB / 1.272 GB, free: 396 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.855, allocations: 0 / 1.272 GB, free: 396 kB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001261/0.8551, allocations: 69.39 kB / 1.272 GB, free: 320 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.8551, allocations: 4 kB / 1.272 GB, free: 316 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.8551, allocations: 0 / 1.272 GB, free: 316 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.8552, allocations: 4 kB / 1.272 GB, free: 312 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.697e-05/0.8552, allocations: 11.92 kB / 1.272 GB, free: 300 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.8552, allocations: 8.125 kB / 1.272 GB, free: 292 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.082e-05/0.8553, allocations: 19.69 kB / 1.272 GB, free: 272 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.8553, allocations: 4 kB / 1.272 GB, free: 268 kB / 0.9981 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.0001079/0.8554, allocations: 197.1 kB / 1.272 GB, free: 60 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.074e-05/0.8555, allocations: 124.7 kB / 1.273 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.875e-05/0.8556, allocations: 129.9 kB / 1.273 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.992e-05/0.8556, allocations: 176.3 kB / 1.273 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.396e-05/0.8557, allocations: 188.2 kB / 1.273 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.448e-05/0.8558, allocations: 180.3 kB / 1.273 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.8561, allocations: 469.1 kB / 1.274 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.837e-05/0.8561, allocations: 104.9 kB / 1.274 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.264e-05/0.8561, allocations: 105 kB / 1.274 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.882e-05/0.8562, allocations: 188.2 kB / 1.274 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.146e-05/0.8562, allocations: 176.3 kB / 1.274 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-05/0.8563, allocations: 176.3 kB / 1.274 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.462e-05/0.8564, allocations: 188.1 kB / 1.275 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.8565, allocations: 339.4 kB / 1.275 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.085e-05/0.8566, allocations: 197.9 kB / 1.275 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.844e-05/0.8567, allocations: 176.3 kB / 1.275 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.58e-05/0.8568, allocations: 104.9 kB / 1.275 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.8568, allocations: 180.3 kB / 1.275 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-05/0.8569, allocations: 109.2 kB / 1.276 GB, free: 12.61 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001829/0.8571, allocations: 209.9 kB / 1.276 GB, free: 12.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8571, allocations: 0 / 1.276 GB, free: 12.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002571/0.8573, allocations: 31.84 kB / 1.276 GB, free: 12.37 MB / 1.014 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.0003344/0.8577, allocations: 0.8164 MB / 1.277 GB, free: 11.52 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.401e-05/0.8578, allocations: 27.95 kB / 1.277 GB, free: 11.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8578, allocations: 0 / 1.277 GB, free: 11.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.8578, allocations: 0 / 1.277 GB, free: 11.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007407/0.8585, allocations: 0.528 MB / 1.277 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.8605, allocations: 2.224 MB / 1.279 GB, free: 8.648 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.8608, allocations: 0.7245 MB / 1.28 GB, free: 7.898 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.95e-05/0.8609, allocations: 25.94 kB / 1.28 GB, free: 7.871 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.335e-05/0.861, allocations: 55.42 kB / 1.28 GB, free: 7.816 MB / 1.014 GB Notification: Performance of SimCode: time 2.41e-07/0.861, allocations: 4 kB / 1.28 GB, free: 7.812 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/0.8814, allocations: 4.673 MB / 1.285 GB, free: 3.273 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.255/8.136, allocations: 13.98 kB / 1.285 GB, free: 3.266 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches