Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001614/0.001614, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002059/0.002059, allocations: 195.9 kB / 16.26 MB, free: 6.629 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.392/1.392, allocations: 222.9 MB / 239.9 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.61/2.61, allocations: 437 MB / 0.71 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.91 kB / 0.8687 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6252/0.6265, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1952/0.8217, allocations: 171.7 MB / 1.184 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01018/0.8319, allocations: 9.426 MB / 1.194 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004044/0.8324, allocations: 4 kB / 1.194 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006944/0.8331, allocations: 171 kB / 1.194 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.8334, allocations: 83.5 kB / 1.194 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.8336, allocations: 51.95 kB / 1.194 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003779/0.834, allocations: 314.7 kB / 1.194 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003073/0.8343, allocations: 156.5 kB / 1.194 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003461/0.8347, allocations: 159.4 kB / 1.195 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.8348, allocations: 103.4 kB / 1.195 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.8349, allocations: 16 kB / 1.195 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.122e-05/0.8349, allocations: 16 kB / 1.195 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.81e-05/0.835, allocations: 39.86 kB / 1.195 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.206e-05/0.8351, allocations: 103.5 kB / 1.195 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.8353, allocations: 199.3 kB / 1.195 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8353, allocations: 0 / 1.195 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8354, allocations: 0 / 1.195 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.8354, allocations: 0 / 1.195 GB, free: 11.54 MB / 0.9512 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.0005691/0.8359, allocations: 484.7 kB / 1.195 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001108/0.8361, allocations: 8.031 kB / 1.195 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/0.8361, allocations: 27.66 kB / 1.195 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.8364, allocations: 246.6 kB / 1.196 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.8364, allocations: 12.44 kB / 1.196 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.8365, allocations: 24 kB / 1.196 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.8368, allocations: 227.8 kB / 1.196 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.8368, allocations: 11.88 kB / 1.196 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.8369, allocations: 11.94 kB / 1.196 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.8369, allocations: 8 kB / 1.196 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.837, allocations: 95.77 kB / 1.196 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.8381, allocations: 1.429 MB / 1.197 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.934e-05/0.8382, allocations: 173.1 kB / 1.198 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.87e-05/0.8383, allocations: 80.14 kB / 1.198 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.8383, allocations: 79.22 kB / 1.198 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/0.8384, allocations: 105.8 kB / 1.198 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 3.025e-06/0.8385, allocations: 4 kB / 1.198 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 9.023e-05/0.8385, allocations: 49.42 kB / 1.198 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001718/0.8387, allocations: 126.7 kB / 1.198 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.839, allocations: 291 kB / 1.198 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.839, allocations: 25.7 kB / 1.198 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.8392, allocations: 143.9 kB / 1.199 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.8392, allocations: 0 / 1.199 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.8392, allocations: 17.72 kB / 1.199 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.8394, allocations: 338.8 kB / 1.199 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.352e-05/0.8394, allocations: 4 kB / 1.199 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.559e-05/0.8394, allocations: 31.38 kB / 1.199 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.587e-05/0.8395, allocations: 35.45 kB / 1.199 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.8395, allocations: 7.938 kB / 1.199 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001367/0.8396, allocations: 73.36 kB / 1.199 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.8396, allocations: 8 kB / 1.199 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.8397, allocations: 0 / 1.199 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.8397, allocations: 0 / 1.199 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.743e-05/0.8397, allocations: 11.98 kB / 1.199 GB, free: 7.082 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.8398, allocations: 0 / 1.199 GB, free: 7.082 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.161e-05/0.8398, allocations: 23.81 kB / 1.199 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.8398, allocations: 4 kB / 1.199 GB, free: 7.055 MB / 0.9512 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.0002283/0.8401, allocations: 205.5 kB / 1.199 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.127e-05/0.8402, allocations: 124.7 kB / 1.199 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.548e-05/0.8402, allocations: 118.1 kB / 1.199 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.923e-05/0.8403, allocations: 192.1 kB / 1.2 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.018e-05/0.8404, allocations: 188.2 kB / 1.2 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.598e-05/0.8405, allocations: 180.2 kB / 1.2 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003947/0.8409, allocations: 469.1 kB / 1.2 GB, free: 5.504 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.251e-05/0.8409, allocations: 101 kB / 1.201 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.769e-05/0.841, allocations: 108.9 kB / 1.201 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.716e-05/0.8411, allocations: 180.2 kB / 1.201 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/0.8412, allocations: 188.1 kB / 1.201 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-05/0.8413, allocations: 180.3 kB / 1.201 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.624e-05/0.8414, allocations: 176.3 kB / 1.201 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.8415, allocations: 327.5 kB / 1.202 GB, free: 4.203 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.8417, allocations: 205.8 kB / 1.202 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.376e-05/0.8418, allocations: 188.2 kB / 1.202 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.8419, allocations: 101 kB / 1.202 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.07e-05/0.8419, allocations: 180.2 kB / 1.202 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.842, allocations: 101 kB / 1.202 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001923/0.8422, allocations: 210 kB / 1.203 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8422, allocations: 0 / 1.203 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002872/0.8425, allocations: 31.98 kB / 1.203 GB, free: 3.156 MB / 0.9512 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.0001526/0.8426, allocations: 174.5 kB / 1.203 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.559e-05/0.8427, allocations: 16.28 kB / 1.203 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8427, allocations: 0 / 1.203 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/0.8427, allocations: 0 / 1.203 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009332/0.8437, allocations: 0.535 MB / 1.203 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000602/0.8443, allocations: 400.8 kB / 1.204 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/0.8447, allocations: 0.7245 MB / 1.204 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002215/0.845, allocations: 21.94 kB / 1.204 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.845, allocations: 15.44 kB / 1.204 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of SimCode: time 2e-07/0.845, allocations: 0 / 1.204 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of Templates: time 0.005701/0.8507, allocations: 2.394 MB / 1.207 GB, free: 14.86 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches