Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0008915/0.0008916, allocations: 90.44 kB / 15.36 MB, free: 0.7344 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.009073/0.009073, allocations: 169.2 kB / 16.26 MB, free: 6.68 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.481/1.481, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.856/2.856, allocations: 462.7 MB / 0.7364 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004144/0.0004144, allocations: 11.22 kB / 0.9028 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3709, allocations: 159.6 MB / 1.059 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1977/0.5686, allocations: 169.6 MB / 1.224 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009418/0.5781, allocations: 9.364 MB / 1.233 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004054/0.5786, allocations: 11.94 kB / 1.233 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000668/0.5792, allocations: 163 kB / 1.234 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002688/0.5795, allocations: 83.5 kB / 1.234 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.5797, allocations: 55.94 kB / 1.234 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004094/0.5801, allocations: 374.6 kB / 1.234 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002906/0.5804, allocations: 129.7 kB / 1.234 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003413/0.5808, allocations: 123.4 kB / 1.234 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.5809, allocations: 79.52 kB / 1.234 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.5809, allocations: 7.984 kB / 1.234 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.003e-05/0.5809, allocations: 7.938 kB / 1.234 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.035e-05/0.581, allocations: 27.86 kB / 1.234 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.5811, allocations: 101.2 kB / 1.235 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.5813, allocations: 195.2 kB / 1.235 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5813, allocations: 0 / 1.235 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.465e-06/0.5813, allocations: 0 / 1.235 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.5813, allocations: 0 / 1.235 GB, free: 0.4961 MB / 0.9825 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.0004595/0.5818, allocations: 435.2 kB / 1.235 GB, free: 24 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.5818, allocations: 12.03 kB / 1.235 GB, free: 12 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.605e-05/0.5819, allocations: 23.7 kB / 1.235 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.5822, allocations: 248.8 kB / 1.235 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.5822, allocations: 20.44 kB / 1.235 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.5822, allocations: 20 kB / 1.235 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.5826, allocations: 227.8 kB / 1.236 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.5826, allocations: 11.92 kB / 1.236 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.5826, allocations: 15.94 kB / 1.236 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.5826, allocations: 4 kB / 1.236 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.5828, allocations: 91.78 kB / 1.236 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.5838, allocations: 1.441 MB / 1.237 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.169e-05/0.5839, allocations: 169.1 kB / 1.237 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.162e-05/0.584, allocations: 80.14 kB / 1.237 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.584, allocations: 75.28 kB / 1.237 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/0.584, allocations: 113.8 kB / 1.238 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.502e-06/0.5841, allocations: 0 / 1.238 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.771e-05/0.5841, allocations: 53.5 kB / 1.238 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.5842, allocations: 126.7 kB / 1.238 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/0.5845, allocations: 279 kB / 1.238 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.5845, allocations: 29.69 kB / 1.238 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.586e-05/0.5846, allocations: 139.9 kB / 1.238 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.372e-06/0.5846, allocations: 11.98 kB / 1.238 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.5847, allocations: 9.719 kB / 1.238 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.5848, allocations: 334.8 kB / 1.239 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.315e-05/0.5848, allocations: 7.984 kB / 1.239 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.542e-05/0.5848, allocations: 31.38 kB / 1.239 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.34e-05/0.5849, allocations: 31.44 kB / 1.239 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.5849, allocations: 0 / 1.239 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001478/0.5851, allocations: 77.28 kB / 1.239 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.5851, allocations: 8 kB / 1.239 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.5851, allocations: 0 / 1.239 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.5851, allocations: 0 / 1.239 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.034e-05/0.5852, allocations: 8 kB / 1.239 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.5852, allocations: 0 / 1.239 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.582e-05/0.5852, allocations: 23.88 kB / 1.239 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.5853, allocations: 0 / 1.239 GB, free: 12.08 MB / 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.0001274/0.5854, allocations: 210.5 kB / 1.239 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.756e-05/0.5855, allocations: 128.8 kB / 1.239 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.641e-05/0.5855, allocations: 125.9 kB / 1.239 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.341e-05/0.5856, allocations: 184.2 kB / 1.239 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-05/0.5857, allocations: 180.3 kB / 1.24 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001137/0.5858, allocations: 176.3 kB / 1.24 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003042/0.5861, allocations: 485 kB / 1.24 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-05/0.5861, allocations: 101 kB / 1.24 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.38e-05/0.5862, allocations: 108.9 kB / 1.24 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.16e-05/0.5862, allocations: 176.3 kB / 1.241 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-05/0.5863, allocations: 184.3 kB / 1.241 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.233e-05/0.5864, allocations: 184.2 kB / 1.241 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-05/0.5864, allocations: 176.3 kB / 1.241 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.5866, allocations: 327.4 kB / 1.241 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.761e-05/0.5867, allocations: 205.8 kB / 1.242 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.402e-05/0.5868, allocations: 180.3 kB / 1.242 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.968e-05/0.5869, allocations: 101 kB / 1.242 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.587, allocations: 184.3 kB / 1.242 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.587, allocations: 101 kB / 1.242 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001979/0.5872, allocations: 210 kB / 1.242 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5872, allocations: 4 kB / 1.242 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002362/0.5875, allocations: 24 kB / 1.242 GB, free: 8.176 MB / 0.9981 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.0001415/0.5876, allocations: 178.5 kB / 1.242 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.073e-05/0.5877, allocations: 19.92 kB / 1.242 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5877, allocations: 0 / 1.242 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.5877, allocations: 0 / 1.242 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008087/0.5885, allocations: 0.5976 MB / 1.243 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005324/0.5891, allocations: 416.6 kB / 1.243 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.5893, allocations: 0.7365 MB / 1.244 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.191e-05/0.5894, allocations: 17.95 kB / 1.244 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.5895, allocations: 15.44 kB / 1.244 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of SimCode: time 2.7e-07/0.5895, allocations: 4 kB / 1.244 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of Templates: time 0.005351/0.5948, allocations: 2.292 MB / 1.246 GB, free: 3.875 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches