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.001878/0.001878, allocations: 81.5 kB / 19.44 MB, free: 344 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.002127/0.002127, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.646/1.646, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.54/3.54, allocations: 429.5 MB / 0.6729 GB, free: 4.008 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.813e-06/1.813e-06, allocations: 0 / 0.8774 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.409e-05/3.591e-05, allocations: 5.75 kB / 0.8774 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.2727/0.2727, allocations: 170.4 MB / 1.044 GB, free: 11.64 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01394/0.2866, allocations: 9.785 MB / 1.053 GB, free: 1.82 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004717/0.2871, allocations: 11.94 kB / 1.053 GB, free: 1.809 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0008451/0.2879, allocations: 202.6 kB / 1.054 GB, free: 1.609 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.2883, allocations: 91.25 kB / 1.054 GB, free: 1.52 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.2885, allocations: 67.84 kB / 1.054 GB, free: 1.453 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0004931/0.289, allocations: 330.5 kB / 1.054 GB, free: 1.129 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002874/0.2893, allocations: 105 kB / 1.054 GB, free: 1.023 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005486/0.2898, allocations: 211.5 kB / 1.054 GB, free: 0.8164 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.29, allocations: 79.72 kB / 1.054 GB, free: 0.7383 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 3.63e-05/0.29, allocations: 16 kB / 1.055 GB, free: 0.7227 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 3.601e-05/0.29, allocations: 16 kB / 1.055 GB, free: 0.707 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 5.324e-05/0.2901, allocations: 39.78 kB / 1.055 GB, free: 0.668 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.2902, allocations: 63.84 kB / 1.055 GB, free: 0.6055 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0003667/0.2906, allocations: 223.1 kB / 1.055 GB, free: 396 kB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.2906, allocations: 4 kB / 1.055 GB, free: 392 kB / 1.01 GB Notification: Performance of FrontEnd: time 2.575e-06/0.2906, allocations: 0 / 1.055 GB, free: 392 kB / 1.01 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.2906, allocations: 0 / 1.055 GB, free: 392 kB / 1.01 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.636/0.9266, allocations: 0.5084 MB / 1.055 GB, free: 225.7 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.9266, allocations: 8.781 kB / 1.055 GB, free: 225.7 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.689e-05/0.9267, allocations: 42.55 kB / 1.055 GB, free: 225.7 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.927, allocations: 205.3 kB / 1.056 GB, free: 225.6 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.9271, allocations: 15.97 kB / 1.056 GB, free: 225.6 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.9271, allocations: 17.38 kB / 1.056 GB, free: 225.6 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00035/0.9274, allocations: 268.1 kB / 1.056 GB, free: 225.4 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.9275, allocations: 2.938 kB / 1.056 GB, free: 225.4 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.9275, allocations: 16.84 kB / 1.056 GB, free: 225.4 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.9275, allocations: 8.531 kB / 1.056 GB, free: 225.4 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.9276, allocations: 86.86 kB / 1.056 GB, free: 225.4 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008869/0.9285, allocations: 1.884 MB / 1.058 GB, free: 223.6 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 9.581e-05/0.9286, allocations: 261.4 kB / 1.058 GB, free: 223.3 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.141e-05/0.9287, allocations: 126.9 kB / 1.058 GB, free: 223.2 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.9287, allocations: 122.2 kB / 1.058 GB, free: 223.1 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.9287, allocations: 157.5 kB / 1.058 GB, free: 222.9 MB / 1.01 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.9287, allocations: 0 / 1.058 GB, free: 222.9 MB / 1.01 GB Notification: Performance of matching and sorting (n=0): time 8.422e-05/0.9288, allocations: 41.69 kB / 1.058 GB, free: 222.9 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.9289, allocations: 172.3 kB / 1.059 GB, free: 222.7 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.929, allocations: 233.1 kB / 1.059 GB, free: 222.5 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.342e-06/0.929, allocations: 25.7 kB / 1.059 GB, free: 222.5 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 9.4e-05/0.9291, allocations: 216 kB / 1.059 GB, free: 222.3 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-06/0.9291, allocations: 0.7188 kB / 1.059 GB, free: 222.3 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.9292, allocations: 24.09 kB / 1.059 GB, free: 222.3 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.9293, allocations: 0.5017 MB / 1.06 GB, free: 221.8 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.246e-05/0.9293, allocations: 0 / 1.06 GB, free: 221.8 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.051e-05/0.9293, allocations: 40.66 kB / 1.06 GB, free: 221.7 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.688e-05/0.9293, allocations: 48.94 kB / 1.06 GB, free: 221.6 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.9293, allocations: 0 / 1.06 GB, free: 221.6 MB / 1.01 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001335/0.9295, allocations: 66 kB / 1.06 GB, free: 221.6 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.9295, allocations: 7.828 kB / 1.06 GB, free: 221.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.9295, allocations: 5.031 kB / 1.06 GB, free: 221.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.9295, allocations: 0 / 1.06 GB, free: 221.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.208e-05/0.9296, allocations: 5.062 kB / 1.06 GB, free: 221.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.9296, allocations: 2.594 kB / 1.06 GB, free: 221.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.233e-05/0.9296, allocations: 5.016 kB / 1.06 GB, free: 221.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.9296, allocations: 2.875 kB / 1.06 GB, free: 221.6 MB / 1.01 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 9.968e-05/0.9297, allocations: 296.5 kB / 1.06 GB, free: 221.3 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.712e-05/0.9298, allocations: 166.5 kB / 1.06 GB, free: 221.1 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.651e-05/0.9298, allocations: 155.9 kB / 1.06 GB, free: 221 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-05/0.9299, allocations: 270 kB / 1.061 GB, free: 220.7 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-05/0.9299, allocations: 268.8 kB / 1.061 GB, free: 220.5 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-05/0.93, allocations: 266.6 kB / 1.061 GB, free: 220.2 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.9302, allocations: 0.5704 MB / 1.062 GB, free: 219.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.19e-05/0.9302, allocations: 159 kB / 1.062 GB, free: 219.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.695e-05/0.9303, allocations: 149.3 kB / 1.062 GB, free: 219.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.449e-05/0.9303, allocations: 272.7 kB / 1.062 GB, free: 219.1 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.68e-05/0.9304, allocations: 264.1 kB / 1.063 GB, free: 218.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.888e-05/0.9304, allocations: 270.6 kB / 1.063 GB, free: 218.5 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-05/0.9305, allocations: 267.3 kB / 1.063 GB, free: 218.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.9306, allocations: 456.3 kB / 1.063 GB, free: 217.8 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.9306, allocations: 154.8 kB / 1.064 GB, free: 217.6 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/0.9307, allocations: 271.3 kB / 1.064 GB, free: 217.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.079e-05/0.9308, allocations: 146.3 kB / 1.064 GB, free: 217.2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.9308, allocations: 270.6 kB / 1.064 GB, free: 217 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.9308, allocations: 153.3 kB / 1.064 GB, free: 216.8 MB / 1.01 GB Notification: Performance of sorting global known variables: time 6.88e-05/0.9309, allocations: 160.5 kB / 1.065 GB, free: 216.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.9309, allocations: 0 / 1.065 GB, free: 216.7 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002559/0.9312, allocations: 36.34 kB / 1.065 GB, free: 216.7 MB / 1.01 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.000131/0.9313, allocations: 215 kB / 1.065 GB, free: 216.5 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.9314, allocations: 24.59 kB / 1.065 GB, free: 216.4 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.9314, allocations: 0 / 1.065 GB, free: 216.4 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 3.476e-06/0.9314, allocations: 6.625 kB / 1.065 GB, free: 216.4 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.9317, allocations: 0.7097 MB / 1.066 GB, free: 215.7 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005537/0.9323, allocations: 404.2 kB / 1.066 GB, free: 215.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.9324, allocations: 115.4 kB / 1.066 GB, free: 215.3 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 3.173e-05/0.9324, allocations: 7.156 kB / 1.066 GB, free: 215.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.968e-05/0.9325, allocations: 11.22 kB / 1.066 GB, free: 215.3 MB / 1.01 GB Notification: Performance of SimCode: time 4.01e-07/0.9325, allocations: 0.5 kB / 1.066 GB, free: 215.3 MB / 1.01 GB Notification: Performance of Templates: time 0.003489/0.936, allocations: 291.3 kB / 1.066 GB, free: 215.3 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) [Timeout 240] 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.99998807196971]