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.001366/0.001366, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001566/0.001566, allocations: 211 kB / 22.24 MB, free: 5.262 MB / 14.72 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.73 MB / 206.1 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.276/3.276, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 67.22 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.358, allocations: 181.9 MB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1969/0.555, allocations: 153.7 MB / 1.513 GB, free: 3.777 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01064/0.5656, allocations: 8.643 MB / 1.522 GB, free: 11.11 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.5659, allocations: 15.88 kB / 1.522 GB, free: 11.09 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0006533/0.5666, allocations: 194.7 kB / 1.522 GB, free: 10.9 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.5669, allocations: 99.36 kB / 1.522 GB, free: 10.8 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.567, allocations: 63.86 kB / 1.522 GB, free: 10.74 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0004204/0.5674, allocations: 318.5 kB / 1.523 GB, free: 10.43 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003052/0.5678, allocations: 105 kB / 1.523 GB, free: 10.32 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003725/0.5681, allocations: 159.4 kB / 1.523 GB, free: 10.16 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.5683, allocations: 95.42 kB / 1.523 GB, free: 10.07 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 3.525e-05/0.5683, allocations: 16 kB / 1.523 GB, free: 10.05 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 3.767e-05/0.5684, allocations: 16 kB / 1.523 GB, free: 10.04 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 4.322e-05/0.5684, allocations: 47.78 kB / 1.523 GB, free: 9.992 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 8.099e-05/0.5685, allocations: 71.67 kB / 1.523 GB, free: 9.922 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.5688, allocations: 222.9 kB / 1.523 GB, free: 9.703 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.5688, allocations: 3.984 kB / 1.523 GB, free: 9.699 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5688, allocations: 0 / 1.523 GB, free: 9.699 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.5688, allocations: 0 / 1.523 GB, free: 9.699 MB / 1.217 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.000502/0.5693, allocations: 405.6 kB / 1.524 GB, free: 9.273 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.5693, allocations: 16.03 kB / 1.524 GB, free: 9.258 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.189e-05/0.5694, allocations: 50.55 kB / 1.524 GB, free: 9.199 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.5694, allocations: 27.8 kB / 1.524 GB, free: 9.172 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.5698, allocations: 200.8 kB / 1.524 GB, free: 8.949 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.5698, allocations: 16.44 kB / 1.524 GB, free: 8.934 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.5698, allocations: 20 kB / 1.524 GB, free: 8.914 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/0.5702, allocations: 231.8 kB / 1.524 GB, free: 8.652 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.5702, allocations: 0 / 1.524 GB, free: 8.652 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.5702, allocations: 15.92 kB / 1.524 GB, free: 8.637 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.5702, allocations: 4 kB / 1.524 GB, free: 8.633 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.5704, allocations: 95.72 kB / 1.524 GB, free: 8.539 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.5716, allocations: 1.364 MB / 1.526 GB, free: 7.098 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 9.519e-05/0.5717, allocations: 173.1 kB / 1.526 GB, free: 6.918 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.107e-05/0.5717, allocations: 80.14 kB / 1.526 GB, free: 6.836 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.5717, allocations: 75.28 kB / 1.526 GB, free: 6.762 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.37e-05/0.5718, allocations: 117.8 kB / 1.526 GB, free: 6.637 MB / 1.217 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.5718, allocations: 112 / 1.526 GB, free: 6.637 MB / 1.217 GB Notification: Performance of matching and sorting (n=0): time 9.399e-05/0.5719, allocations: 53.44 kB / 1.526 GB, free: 6.578 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.374e-05/0.5719, allocations: 126.7 kB / 1.526 GB, free: 6.441 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003323/0.5723, allocations: 288.2 kB / 1.526 GB, free: 6.152 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.5723, allocations: 29.7 kB / 1.527 GB, free: 6.117 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.5724, allocations: 144 kB / 1.527 GB, free: 5.973 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.5724, allocations: 0 / 1.527 GB, free: 5.973 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.5724, allocations: 17.67 kB / 1.527 GB, free: 5.949 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.5726, allocations: 342.8 kB / 1.527 GB, free: 5.605 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.5726, allocations: 0 / 1.527 GB, free: 5.605 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.923e-05/0.5726, allocations: 31.44 kB / 1.527 GB, free: 5.562 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.998e-05/0.5727, allocations: 35.36 kB / 1.527 GB, free: 5.516 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5727, allocations: 0 / 1.527 GB, free: 5.516 MB / 1.217 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001328/0.5728, allocations: 69.5 kB / 1.527 GB, free: 5.441 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.5728, allocations: 8 kB / 1.527 GB, free: 5.434 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.5728, allocations: 8.062 kB / 1.527 GB, free: 5.426 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.5729, allocations: 4 kB / 1.527 GB, free: 5.422 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.284e-05/0.5729, allocations: 11.98 kB / 1.527 GB, free: 5.41 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.5729, allocations: 0 / 1.527 GB, free: 5.41 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.611e-05/0.573, allocations: 27.78 kB / 1.527 GB, free: 5.383 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.573, allocations: 0 / 1.527 GB, free: 5.383 MB / 1.217 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.0001305/0.5731, allocations: 201.1 kB / 1.527 GB, free: 5.176 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.391e-05/0.5732, allocations: 128.8 kB / 1.528 GB, free: 5.043 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.837e-05/0.5733, allocations: 121.9 kB / 1.528 GB, free: 4.918 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.14e-05/0.5734, allocations: 176.3 kB / 1.528 GB, free: 4.738 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.861e-05/0.5734, allocations: 184.2 kB / 1.528 GB, free: 4.551 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.733e-05/0.5735, allocations: 188.3 kB / 1.528 GB, free: 4.359 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.5738, allocations: 432.1 kB / 1.529 GB, free: 3.887 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.146e-05/0.5739, allocations: 105 kB / 1.529 GB, free: 3.777 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/0.5739, allocations: 101 kB / 1.529 GB, free: 3.672 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-05/0.574, allocations: 184.4 kB / 1.529 GB, free: 3.484 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.703e-05/0.5741, allocations: 188.3 kB / 1.529 GB, free: 3.293 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-05/0.5741, allocations: 180.2 kB / 1.529 GB, free: 3.109 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.278e-05/0.5742, allocations: 176.3 kB / 1.529 GB, free: 2.93 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.5744, allocations: 339.5 kB / 1.53 GB, free: 2.574 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 8.12e-05/0.5745, allocations: 116.9 kB / 1.53 GB, free: 2.453 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.5746, allocations: 192.2 kB / 1.53 GB, free: 2.258 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.5747, allocations: 104.9 kB / 1.53 GB, free: 2.148 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.195e-05/0.5748, allocations: 176.3 kB / 1.53 GB, free: 1.969 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.911e-05/0.5748, allocations: 112.9 kB / 1.53 GB, free: 1.852 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002089/0.575, allocations: 203.1 kB / 1.531 GB, free: 1.656 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.575, allocations: 0 / 1.531 GB, free: 1.656 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0002571/0.5753, allocations: 31.89 kB / 1.531 GB, free: 1.625 MB / 1.217 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.0004538/0.5757, allocations: 0.8165 MB / 1.531 GB, free: 0.7773 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 7.213e-05/0.5758, allocations: 20.11 kB / 1.531 GB, free: 0.7578 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5758, allocations: 4.062 kB / 1.531 GB, free: 0.7539 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.5758, allocations: 0 / 1.531 GB, free: 0.7539 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000774/0.5766, allocations: 0.5375 MB / 1.532 GB, free: 220 kB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.579, allocations: 2.233 MB / 1.534 GB, free: 13.88 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.5791, allocations: 113.3 kB / 1.534 GB, free: 13.75 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 8.568e-05/0.5792, allocations: 21.94 kB / 1.534 GB, free: 13.73 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.77e-05/0.5792, allocations: 59.36 kB / 1.534 GB, free: 13.67 MB / 1.232 GB Notification: Performance of SimCode: time 3.8e-07/0.5792, allocations: 8 kB / 1.534 GB, free: 13.66 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03346/0.6127, allocations: 5.541 MB / 1.54 GB, free: 8.309 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/12.06, allocations: 4 kB / 1.54 GB, free: 8.305 MB / 1.232 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) [Timeout 840.0] 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/jenkins1/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: 18.76916207605973]