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: translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|souRev.outlet.backward.T|souRev.outlet.backward.X_w",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|souRev.outlet.backward.T|souRev.outlet.backward.X_w",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01025/0.01025, allocations: 101.3 kB / 15.73 MB, free: 6.008 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.001841/0.001841, allocations: 188.3 kB / 16.67 MB, free: 5.93 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.429/2.429, allocations: 390.2 MB / 0.6648 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 63.91 kB / 0.9508 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069/1.071, allocations: 140.4 MB / 1.088 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.2296/1.3, allocations: 174 MB / 1.258 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009543/1.31, allocations: 9.511 MB / 1.267 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004356/1.31, allocations: 11.94 kB / 1.267 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007086/1.311, allocations: 186.7 kB / 1.267 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002386/1.311, allocations: 91.31 kB / 1.267 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/1.312, allocations: 71.84 kB / 1.267 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004159/1.312, allocations: 326.6 kB / 1.268 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003112/1.312, allocations: 136.6 kB / 1.268 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003838/1.313, allocations: 167.4 kB / 1.268 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/1.313, allocations: 99.44 kB / 1.268 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/1.313, allocations: 16 kB / 1.268 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.866e-05/1.313, allocations: 16 kB / 1.268 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.709e-05/1.313, allocations: 39.86 kB / 1.268 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.16e-05/1.313, allocations: 95.48 kB / 1.268 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002351/1.313, allocations: 217 kB / 1.269 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.313, allocations: 0 / 1.269 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.703e-06/1.313, allocations: 0 / 1.269 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.341e-05/1.313, allocations: 4 kB / 1.269 GB, free: 4.734 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.0005409/1.314, allocations: 475 kB / 1.269 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/1.314, allocations: 12.03 kB / 1.269 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.277e-05/1.314, allocations: 27.64 kB / 1.269 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/1.314, allocations: 267.7 kB / 1.269 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/1.314, allocations: 12.44 kB / 1.269 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/1.314, allocations: 20 kB / 1.269 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003743/1.315, allocations: 231.8 kB / 1.27 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/1.315, allocations: 4 kB / 1.27 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/1.315, allocations: 7.938 kB / 1.27 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/1.315, allocations: 11.98 kB / 1.27 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/1.315, allocations: 91.78 kB / 1.27 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/1.316, allocations: 1.429 MB / 1.271 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/1.316, allocations: 177.1 kB / 1.271 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.844e-05/1.316, allocations: 84.17 kB / 1.271 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.083e-05/1.316, allocations: 79.28 kB / 1.271 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.975e-05/1.317, allocations: 105.8 kB / 1.271 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/1.317, allocations: 0 / 1.271 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001055/1.317, allocations: 45.52 kB / 1.272 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.579e-05/1.317, allocations: 138.6 kB / 1.272 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/1.317, allocations: 287 kB / 1.272 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/1.317, allocations: 25.7 kB / 1.272 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/1.317, allocations: 147.9 kB / 1.272 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-06/1.317, allocations: 0 / 1.272 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/1.317, allocations: 21.61 kB / 1.272 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.317, allocations: 334.8 kB / 1.272 GB, free: 472 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.254e-05/1.317, allocations: 7.938 kB / 1.272 GB, free: 464 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.617e-05/1.317, allocations: 27.42 kB / 1.272 GB, free: 424 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.987e-05/1.318, allocations: 35.38 kB / 1.272 GB, free: 376 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.318, allocations: 4 kB / 1.272 GB, free: 372 kB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001339/1.318, allocations: 69.44 kB / 1.273 GB, free: 296 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/1.318, allocations: 8 kB / 1.273 GB, free: 288 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.318, allocations: 0 / 1.273 GB, free: 288 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/1.318, allocations: 0 / 1.273 GB, free: 288 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.926e-05/1.318, allocations: 11.94 kB / 1.273 GB, free: 276 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/1.318, allocations: 3.984 kB / 1.273 GB, free: 272 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.034e-05/1.318, allocations: 27.69 kB / 1.273 GB, free: 244 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/1.318, allocations: 0 / 1.273 GB, free: 244 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.0001403/1.318, allocations: 209.2 kB / 1.273 GB, free: 24 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.411e-05/1.318, allocations: 120.7 kB / 1.273 GB, free: 15.9 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.139e-05/1.318, allocations: 125.9 kB / 1.273 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-05/1.318, allocations: 180.3 kB / 1.273 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-05/1.318, allocations: 180.2 kB / 1.273 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.063e-05/1.318, allocations: 184.3 kB / 1.274 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/1.319, allocations: 469.1 kB / 1.274 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.713e-05/1.319, allocations: 108.9 kB / 1.274 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.817e-05/1.319, allocations: 101 kB / 1.274 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.579e-05/1.319, allocations: 184.2 kB / 1.274 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.183e-05/1.319, allocations: 176.4 kB / 1.275 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.842e-05/1.319, allocations: 192.2 kB / 1.275 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.05e-05/1.319, allocations: 184.2 kB / 1.275 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/1.319, allocations: 327.4 kB / 1.275 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.753e-05/1.319, allocations: 197.9 kB / 1.275 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.906e-05/1.319, allocations: 184.3 kB / 1.276 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.1e-05/1.32, allocations: 104.9 kB / 1.276 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.49e-05/1.32, allocations: 180.2 kB / 1.276 GB, free: 12.69 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.525e-05/1.32, allocations: 109.2 kB / 1.276 GB, free: 12.57 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001902/1.32, allocations: 210 kB / 1.276 GB, free: 12.37 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.32, allocations: 0 / 1.276 GB, free: 12.37 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002422/1.32, allocations: 20 kB / 1.276 GB, free: 12.35 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.0001605/1.32, allocations: 182.5 kB / 1.276 GB, free: 12.16 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.628e-05/1.32, allocations: 11.92 kB / 1.276 GB, free: 12.15 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.32, allocations: 4 kB / 1.276 GB, free: 12.14 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/1.32, allocations: 0 / 1.276 GB, free: 12.14 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007786/1.321, allocations: 0.5358 MB / 1.277 GB, free: 11.61 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005041/1.322, allocations: 369.4 kB / 1.277 GB, free: 11.21 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/1.322, allocations: 0.7284 MB / 1.278 GB, free: 10.46 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.411e-05/1.322, allocations: 17.95 kB / 1.278 GB, free: 10.45 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/1.322, allocations: 15.44 kB / 1.278 GB, free: 10.43 MB / 1.014 GB Notification: Performance of SimCode: time 2.21e-07/1.322, allocations: 0 / 1.278 GB, free: 10.43 MB / 1.014 GB Notification: Performance of Templates: time 0.005262/1.327, allocations: 2.423 MB / 1.28 GB, free: 8.047 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.makefile (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 & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins/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