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.001596/0.001596, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001752/0.001752, allocations: 218.8 kB / 23.03 MB, free: 4.949 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.211/3.211, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="cs",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.001995/0.001995, allocations: 71.45 kB / 1.171 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3621, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1938/0.5558, allocations: 153.5 MB / 1.495 GB, free: 5.836 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.009592/0.5654, allocations: 8.623 MB / 1.504 GB, free: 13.19 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002764/0.5657, allocations: 15.88 kB / 1.504 GB, free: 13.17 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0005867/0.5663, allocations: 194.7 kB / 1.504 GB, free: 12.98 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.5665, allocations: 103.4 kB / 1.504 GB, free: 12.88 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.5667, allocations: 63.86 kB / 1.504 GB, free: 12.82 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0004181/0.5671, allocations: 314.7 kB / 1.504 GB, free: 12.51 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002516/0.5673, allocations: 109 kB / 1.504 GB, free: 12.39 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003427/0.5677, allocations: 155.5 kB / 1.505 GB, free: 12.24 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.5678, allocations: 107.4 kB / 1.505 GB, free: 12.14 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.5678, allocations: 20 kB / 1.505 GB, free: 12.12 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 2.872e-05/0.5679, allocations: 12 kB / 1.505 GB, free: 12.11 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 3.589e-05/0.5679, allocations: 51.72 kB / 1.505 GB, free: 12.05 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 8.982e-05/0.568, allocations: 79.61 kB / 1.505 GB, free: 11.98 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.5683, allocations: 219 kB / 1.505 GB, free: 11.76 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.5683, allocations: 3.984 kB / 1.505 GB, free: 11.76 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5683, allocations: 0 / 1.505 GB, free: 11.76 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.5683, allocations: 0 / 1.505 GB, free: 11.76 MB / 1.201 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.0004631/0.5687, allocations: 405.6 kB / 1.505 GB, free: 11.33 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.5688, allocations: 12.03 kB / 1.505 GB, free: 11.32 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.706e-05/0.5688, allocations: 4.438 kB / 1.505 GB, free: 11.32 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.483e-05/0.5689, allocations: 58.55 kB / 1.505 GB, free: 11.25 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.5689, allocations: 27.8 kB / 1.506 GB, free: 11.22 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.5693, allocations: 201.9 kB / 1.506 GB, free: 11 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.5693, allocations: 12.44 kB / 1.506 GB, free: 10.99 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.5693, allocations: 20 kB / 1.506 GB, free: 10.97 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003495/0.5697, allocations: 231.8 kB / 1.506 GB, free: 10.7 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.5697, allocations: 3.938 kB / 1.506 GB, free: 10.7 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.5697, allocations: 12 kB / 1.506 GB, free: 10.69 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.5697, allocations: 4 kB / 1.506 GB, free: 10.68 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.5698, allocations: 95.72 kB / 1.506 GB, free: 10.59 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.5709, allocations: 1.371 MB / 1.507 GB, free: 9.137 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.571, allocations: 169.1 kB / 1.508 GB, free: 8.961 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.706e-05/0.5711, allocations: 80.14 kB / 1.508 GB, free: 8.879 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.5711, allocations: 79.28 kB / 1.508 GB, free: 8.801 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.231e-05/0.5712, allocations: 105.8 kB / 1.508 GB, free: 8.688 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.5712, allocations: 4 kB / 1.508 GB, free: 8.684 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 8.52e-05/0.5713, allocations: 53.5 kB / 1.508 GB, free: 8.625 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/0.5713, allocations: 126.7 kB / 1.508 GB, free: 8.488 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.5716, allocations: 288.2 kB / 1.508 GB, free: 8.203 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.5716, allocations: 25.7 kB / 1.508 GB, free: 8.172 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.5718, allocations: 148 kB / 1.508 GB, free: 8.023 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.5718, allocations: 0 / 1.508 GB, free: 8.023 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.5718, allocations: 17.72 kB / 1.508 GB, free: 8 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.5719, allocations: 334.8 kB / 1.509 GB, free: 7.664 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.274e-05/0.5719, allocations: 4 kB / 1.509 GB, free: 7.66 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.225e-05/0.572, allocations: 35.44 kB / 1.509 GB, free: 7.613 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.829e-05/0.572, allocations: 39.36 kB / 1.509 GB, free: 7.562 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.572, allocations: 0 / 1.509 GB, free: 7.562 MB / 1.201 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001311/0.5722, allocations: 69.5 kB / 1.509 GB, free: 7.488 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.5722, allocations: 4 kB / 1.509 GB, free: 7.484 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.5722, allocations: 7.938 kB / 1.509 GB, free: 7.477 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.5722, allocations: 8.109 kB / 1.509 GB, free: 7.469 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.511e-05/0.5723, allocations: 7.938 kB / 1.509 GB, free: 7.461 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.5723, allocations: 4 kB / 1.509 GB, free: 7.457 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.161e-05/0.5723, allocations: 19.78 kB / 1.509 GB, free: 7.438 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.5723, allocations: 7.938 kB / 1.509 GB, free: 7.43 MB / 1.201 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.0001277/0.5725, allocations: 197.1 kB / 1.509 GB, free: 7.227 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.25e-05/0.5725, allocations: 120.8 kB / 1.509 GB, free: 7.102 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.32e-05/0.5726, allocations: 129.9 kB / 1.509 GB, free: 6.969 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.637e-05/0.5727, allocations: 184.2 kB / 1.51 GB, free: 6.781 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.971e-05/0.5728, allocations: 184.2 kB / 1.51 GB, free: 6.594 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.938e-05/0.5728, allocations: 180.3 kB / 1.51 GB, free: 6.41 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.5731, allocations: 432.3 kB / 1.51 GB, free: 5.938 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.872e-05/0.5732, allocations: 108.9 kB / 1.51 GB, free: 5.824 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-05/0.5732, allocations: 105 kB / 1.511 GB, free: 5.715 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.254e-05/0.5733, allocations: 184.2 kB / 1.511 GB, free: 5.527 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-05/0.5734, allocations: 184.3 kB / 1.511 GB, free: 5.34 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.311e-05/0.5735, allocations: 176.3 kB / 1.511 GB, free: 5.16 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.079e-05/0.5735, allocations: 184.2 kB / 1.511 GB, free: 4.973 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.5737, allocations: 331.5 kB / 1.512 GB, free: 4.625 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 8.84e-05/0.5738, allocations: 124.9 kB / 1.512 GB, free: 4.496 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.5739, allocations: 184.2 kB / 1.512 GB, free: 4.309 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.574, allocations: 109 kB / 1.512 GB, free: 4.195 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.5741, allocations: 180.3 kB / 1.512 GB, free: 4.012 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.873e-05/0.5742, allocations: 104.9 kB / 1.512 GB, free: 3.902 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002256/0.5744, allocations: 219 kB / 1.512 GB, free: 3.688 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5744, allocations: 0 / 1.512 GB, free: 3.688 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002422/0.5746, allocations: 20 kB / 1.512 GB, free: 3.668 MB / 1.201 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.0004672/0.5751, allocations: 0.8204 MB / 1.513 GB, free: 2.816 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 7.422e-05/0.5752, allocations: 12.11 kB / 1.513 GB, free: 2.805 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.5752, allocations: 8.062 kB / 1.513 GB, free: 2.797 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.5752, allocations: 0 / 1.513 GB, free: 2.797 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007955/0.576, allocations: 0.5302 MB / 1.514 GB, free: 2.266 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/0.5783, allocations: 2.237 MB / 1.516 GB, free: 15.94 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.5784, allocations: 113.3 kB / 1.516 GB, free: 15.8 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 7.939e-05/0.5784, allocations: 21.94 kB / 1.516 GB, free: 15.78 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.064e-05/0.5785, allocations: 55.42 kB / 1.516 GB, free: 15.73 MB / 1.217 GB Notification: Performance of SimCode: time 3.01e-07/0.5785, allocations: 0 / 1.516 GB, free: 15.73 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.6046, allocations: 5.163 MB / 1.521 GB, free: 10.79 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/12.09, allocations: 9.078 kB / 1.521 GB, free: 10.78 MB / 1.217 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.958240400999784]