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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002761/0.002761, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.81/1.81, allocations: 177.1 MB / 203.1 MB, free: 5.539 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.386/3.386, allocations: 429.6 MB / 0.673 GB, free: 3.906 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.8776 GB, free: 5.391 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.271e-05/3.457e-05, allocations: 2.312 kB / 0.8776 GB, free: 5.387 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.9459/0.946, allocations: 153.6 MB / 1.028 GB, free: 17.04 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01185/0.9578, allocations: 8.599 MB / 1.036 GB, free: 17 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003769/0.9582, allocations: 12.97 kB / 1.036 GB, free: 17 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0007144/0.9589, allocations: 202.1 kB / 1.036 GB, free: 17 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0002988/0.9592, allocations: 100.5 kB / 1.036 GB, free: 17 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.9594, allocations: 63.7 kB / 1.036 GB, free: 17 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0004778/0.9599, allocations: 326.6 kB / 1.037 GB, free: 17 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002747/0.9601, allocations: 101.4 kB / 1.037 GB, free: 16.98 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004893/0.9606, allocations: 219.6 kB / 1.037 GB, free: 16.98 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.9608, allocations: 75.25 kB / 1.037 GB, free: 16.98 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.9608, allocations: 16.84 kB / 1.037 GB, free: 16.98 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.719e-05/0.9608, allocations: 16.53 kB / 1.037 GB, free: 16.98 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.263e-05/0.9609, allocations: 43.95 kB / 1.037 GB, free: 16.98 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.961, allocations: 66.52 kB / 1.037 GB, free: 16.98 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.9613, allocations: 214.4 kB / 1.037 GB, free: 16.96 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.9613, allocations: 1.266 kB / 1.037 GB, free: 16.96 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9613, allocations: 0.6562 kB / 1.037 GB, free: 16.96 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.9613, allocations: 0.625 kB / 1.037 GB, free: 16.96 MB / 0.9323 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.0004823/0.9618, allocations: 404.6 kB / 1.038 GB, free: 16.64 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.9618, allocations: 10.66 kB / 1.038 GB, free: 16.64 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.869e-05/0.9619, allocations: 43.77 kB / 1.038 GB, free: 16.63 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.9623, allocations: 214.5 kB / 1.038 GB, free: 16.48 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.9624, allocations: 12.38 kB / 1.038 GB, free: 16.48 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.9624, allocations: 21.44 kB / 1.038 GB, free: 16.48 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003604/0.9627, allocations: 229.1 kB / 1.038 GB, free: 16.37 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.9628, allocations: 4.438 kB / 1.038 GB, free: 16.37 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.9628, allocations: 10.38 kB / 1.038 GB, free: 16.37 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.9628, allocations: 11.25 kB / 1.038 GB, free: 16.37 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.963, allocations: 96.06 kB / 1.038 GB, free: 16.37 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008374/0.9638, allocations: 1.281 MB / 1.04 GB, free: 15.25 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 7.174e-05/0.9639, allocations: 171 kB / 1.04 GB, free: 15.07 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.512e-05/0.9639, allocations: 84.7 kB / 1.04 GB, free: 14.99 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.9639, allocations: 77.47 kB / 1.04 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.964, allocations: 115 kB / 1.04 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.964, allocations: 0 / 1.04 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=0): time 8.618e-05/0.9641, allocations: 35.58 kB / 1.04 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.9641, allocations: 128.2 kB / 1.04 GB, free: 14.63 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.9643, allocations: 157.2 kB / 1.04 GB, free: 14.53 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.9643, allocations: 26.8 kB / 1.04 GB, free: 14.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 9.393e-05/0.9644, allocations: 167.1 kB / 1.041 GB, free: 14.37 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-06/0.9644, allocations: 1.906 kB / 1.041 GB, free: 14.37 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.9644, allocations: 17.88 kB / 1.041 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.747e-05/0.9645, allocations: 320.6 kB / 1.041 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.9645, allocations: 7.75 kB / 1.041 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.365e-05/0.9645, allocations: 29.5 kB / 1.041 GB, free: 14.01 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.642e-05/0.9645, allocations: 35.83 kB / 1.041 GB, free: 13.98 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.9645, allocations: 0.7812 kB / 1.041 GB, free: 13.98 MB / 0.9323 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001481/0.9647, allocations: 71.03 kB / 1.041 GB, free: 13.94 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.9647, allocations: 5.875 kB / 1.041 GB, free: 13.94 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.9647, allocations: 2.453 kB / 1.041 GB, free: 13.94 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.9647, allocations: 2.828 kB / 1.041 GB, free: 13.94 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.23e-05/0.9648, allocations: 7.328 kB / 1.041 GB, free: 13.94 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.9648, allocations: 2.875 kB / 1.041 GB, free: 13.94 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.761e-05/0.9648, allocations: 1.734 kB / 1.041 GB, free: 13.94 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.9648, allocations: 2.469 kB / 1.041 GB, free: 13.94 MB / 0.9323 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 8.798e-05/0.9649, allocations: 205.4 kB / 1.041 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/0.965, allocations: 114.3 kB / 1.041 GB, free: 13.64 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.965, allocations: 114.5 kB / 1.041 GB, free: 13.53 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.892e-05/0.965, allocations: 178.5 kB / 1.042 GB, free: 13.35 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.392e-05/0.9651, allocations: 192.3 kB / 1.042 GB, free: 13.17 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.081e-05/0.9651, allocations: 178.2 kB / 1.042 GB, free: 12.99 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.9653, allocations: 409.5 kB / 1.042 GB, free: 12.61 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.057e-05/0.9653, allocations: 102.8 kB / 1.042 GB, free: 12.51 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.202e-05/0.9654, allocations: 105.8 kB / 1.043 GB, free: 12.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.291e-05/0.9654, allocations: 185.1 kB / 1.043 GB, free: 12.22 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.287e-05/0.9654, allocations: 181.6 kB / 1.043 GB, free: 12.04 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.877e-05/0.9655, allocations: 178.8 kB / 1.043 GB, free: 11.86 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.899e-05/0.9655, allocations: 182.1 kB / 1.043 GB, free: 11.68 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.523e-05/0.9656, allocations: 315.5 kB / 1.044 GB, free: 11.37 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 3.026e-05/0.9656, allocations: 113.9 kB / 1.044 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.272e-05/0.9656, allocations: 182.7 kB / 1.044 GB, free: 11.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.929e-05/0.9657, allocations: 103.5 kB / 1.044 GB, free: 10.97 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.9657, allocations: 185.9 kB / 1.044 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.9658, allocations: 104.2 kB / 1.044 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 8.559e-05/0.9658, allocations: 112.4 kB / 1.044 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.9658, allocations: 0.75 kB / 1.044 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.000296/0.9661, allocations: 41.02 kB / 1.044 GB, free: 10.59 MB / 0.9323 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.0001232/0.9663, allocations: 169.6 kB / 1.044 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 8.02e-05/0.9663, allocations: 12.08 kB / 1.044 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.9663, allocations: 0.75 kB / 1.045 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 4.428e-06/0.9663, allocations: 7.75 kB / 1.045 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.9667, allocations: 462.9 kB / 1.045 GB, free: 9.988 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005198/0.9672, allocations: 354.3 kB / 1.045 GB, free: 9.711 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.9673, allocations: 115.6 kB / 1.045 GB, free: 9.633 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 3.48e-05/0.9673, allocations: 9.172 kB / 1.045 GB, free: 9.633 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.9674, allocations: 12.56 kB / 1.045 GB, free: 9.625 MB / 0.9323 GB Notification: Performance of SimCode: time 4.81e-07/0.9674, allocations: 0 / 1.045 GB, free: 9.625 MB / 0.9323 GB Notification: Performance of Templates: time 0.002847/0.9702, allocations: 303.5 kB / 1.046 GB, free: 9.578 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.824340847088024]