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.001686/0.001686, allocations: 112.2 kB / 16.28 MB, free: 6.016 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.001296/0.001296, allocations: 188.2 kB / 17.2 MB, free: 5.625 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.359/1.359, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.235/2.235, allocations: 390.3 MB / 0.6653 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 66.34 kB / 0.8132 GB, free: 33.14 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2763, allocations: 140.4 MB / 0.9503 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.7781/1.054, allocations: 174 MB / 1.12 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009863/1.064, allocations: 9.504 MB / 1.129 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004631/1.065, allocations: 13.62 kB / 1.129 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006927/1.066, allocations: 189.9 kB / 1.13 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002721/1.066, allocations: 94.31 kB / 1.13 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/1.066, allocations: 57.48 kB / 1.13 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003914/1.067, allocations: 318.2 kB / 1.13 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000305/1.067, allocations: 148.4 kB / 1.13 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003571/1.067, allocations: 159.4 kB / 1.13 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/1.067, allocations: 106.4 kB / 1.131 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/1.067, allocations: 15.03 kB / 1.131 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.751e-05/1.067, allocations: 16.72 kB / 1.131 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.835e-05/1.068, allocations: 36.69 kB / 1.131 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/1.068, allocations: 99 kB / 1.131 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002792/1.068, allocations: 206.5 kB / 1.131 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/1.068, allocations: 1.266 kB / 1.131 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.254e-06/1.068, allocations: 3.734 kB / 1.131 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.733e-06/1.068, allocations: 1.031 kB / 1.131 GB, free: 5.23 MB / 0.8575 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.0006983/1.069, allocations: 481 kB / 1.131 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/1.069, allocations: 9.719 kB / 1.131 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.222e-05/1.069, allocations: 27.88 kB / 1.131 GB, free: 20.8 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/1.069, allocations: 248.9 kB / 1.132 GB, free: 20.59 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/1.069, allocations: 14.84 kB / 1.132 GB, free: 20.59 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/1.069, allocations: 19.62 kB / 1.132 GB, free: 20.59 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/1.069, allocations: 236 kB / 1.132 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/1.069, allocations: 1.203 kB / 1.132 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/1.07, allocations: 10.28 kB / 1.132 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/1.07, allocations: 9.625 kB / 1.132 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/1.07, allocations: 88.81 kB / 1.132 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/1.071, allocations: 1.439 MB / 1.133 GB, free: 19.24 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/1.071, allocations: 166.5 kB / 1.134 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.525e-05/1.071, allocations: 86.58 kB / 1.134 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/1.071, allocations: 77.36 kB / 1.134 GB, free: 18.91 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.111e-05/1.071, allocations: 106.5 kB / 1.134 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/1.071, allocations: 0 / 1.134 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 8.534e-05/1.071, allocations: 50.47 kB / 1.134 GB, free: 18.75 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/1.071, allocations: 131.8 kB / 1.134 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/1.072, allocations: 285.7 kB / 1.134 GB, free: 18.51 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/1.072, allocations: 26.83 kB / 1.134 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/1.072, allocations: 148.3 kB / 1.134 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-06/1.072, allocations: 0.7031 kB / 1.134 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/1.072, allocations: 17.73 kB / 1.134 GB, free: 18.37 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.072, allocations: 337 kB / 1.135 GB, free: 18.05 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.15e-05/1.072, allocations: 2.125 kB / 1.135 GB, free: 18.05 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.016e-05/1.072, allocations: 29.39 kB / 1.135 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.244e-05/1.072, allocations: 38.12 kB / 1.135 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.072, allocations: 1.125 kB / 1.135 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001365/1.072, allocations: 74.14 kB / 1.135 GB, free: 17.94 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.072, allocations: 9.312 kB / 1.135 GB, free: 17.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.072, allocations: 1.125 kB / 1.135 GB, free: 17.94 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/1.072, allocations: 1.734 kB / 1.135 GB, free: 17.94 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.888e-05/1.072, allocations: 7.797 kB / 1.135 GB, free: 17.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/1.072, allocations: 6.344 kB / 1.135 GB, free: 17.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.512e-05/1.072, allocations: 21.03 kB / 1.135 GB, free: 17.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/1.072, allocations: 2.375 kB / 1.135 GB, free: 17.92 MB / 0.8731 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.0001274/1.073, allocations: 203.2 kB / 1.135 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.072e-05/1.073, allocations: 130.6 kB / 1.135 GB, free: 17.61 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.675e-05/1.073, allocations: 121 kB / 1.135 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.287e-05/1.073, allocations: 181.5 kB / 1.136 GB, free: 17.32 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.648e-05/1.073, allocations: 189.6 kB / 1.136 GB, free: 17.13 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.87e-05/1.073, allocations: 180.5 kB / 1.136 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003179/1.073, allocations: 473.7 kB / 1.136 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.648e-05/1.073, allocations: 103.1 kB / 1.136 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/1.073, allocations: 105.8 kB / 1.137 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.34e-05/1.073, allocations: 184.8 kB / 1.137 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.611e-05/1.074, allocations: 177.5 kB / 1.137 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.929e-05/1.074, allocations: 180 kB / 1.137 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.258e-05/1.074, allocations: 184 kB / 1.137 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/1.074, allocations: 324.6 kB / 1.138 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/1.074, allocations: 205 kB / 1.138 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.813e-05/1.074, allocations: 183.1 kB / 1.138 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/1.074, allocations: 111.4 kB / 1.138 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/1.074, allocations: 182.5 kB / 1.138 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.214e-05/1.074, allocations: 105 kB / 1.138 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002152/1.074, allocations: 206.4 kB / 1.138 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.11e-07/1.074, allocations: 0 / 1.138 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002679/1.075, allocations: 22.81 kB / 1.139 GB, free: 14.38 MB / 0.8731 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.0001918/1.075, allocations: 177.6 kB / 1.139 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.893e-05/1.075, allocations: 20.84 kB / 1.139 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.075, allocations: 1.203 kB / 1.139 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.936e-06/1.075, allocations: 3.812 kB / 1.139 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008123/1.076, allocations: 0.5302 MB / 1.139 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005669/1.076, allocations: 390.1 kB / 1.14 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/1.077, allocations: 0.7217 MB / 1.14 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.691e-05/1.077, allocations: 19.38 kB / 1.14 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/1.077, allocations: 4.562 kB / 1.14 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of Templates: time 0.004479/1.081, allocations: 2.357 MB / 1.143 GB, free: 12.54 MB / 0.8731 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/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