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.001769/0.001769, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002261/0.002261, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.554/1.554, allocations: 230.6 MB / 256 MB, free: 7.973 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.346/3.346, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.002006/0.002006, allocations: 74.45 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3484, allocations: 180.2 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.2217/0.5701, allocations: 177.7 MB / 1.526 GB, free: 6.031 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01117/0.5813, allocations: 9.647 MB / 1.536 GB, free: 12.36 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000329/0.5816, allocations: 15.88 kB / 1.536 GB, free: 12.34 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.0006585/0.5823, allocations: 190.7 kB / 1.536 GB, free: 12.15 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.0002576/0.5825, allocations: 99.36 kB / 1.536 GB, free: 12.05 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.5827, allocations: 71.78 kB / 1.536 GB, free: 11.98 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.0004241/0.5831, allocations: 322.4 kB / 1.537 GB, free: 11.67 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002615/0.5834, allocations: 109 kB / 1.537 GB, free: 11.56 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003557/0.5837, allocations: 159.5 kB / 1.537 GB, free: 11.4 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.5839, allocations: 111.4 kB / 1.537 GB, free: 11.29 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.5839, allocations: 16 kB / 1.537 GB, free: 11.28 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 3.066e-05/0.5839, allocations: 16 kB / 1.537 GB, free: 11.26 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 3.856e-05/0.584, allocations: 31.86 kB / 1.537 GB, free: 11.23 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.5841, allocations: 107.5 kB / 1.537 GB, free: 11.12 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.5844, allocations: 219 kB / 1.537 GB, free: 10.91 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5844, allocations: 0 / 1.537 GB, free: 10.91 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5844, allocations: 0 / 1.537 GB, free: 10.91 MB / 1.232 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.5844, allocations: 0 / 1.537 GB, free: 10.91 MB / 1.232 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.0004846/0.5848, allocations: 409.6 kB / 1.538 GB, free: 10.48 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.5849, allocations: 12.03 kB / 1.538 GB, free: 10.47 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.691e-05/0.585, allocations: 50.55 kB / 1.538 GB, free: 10.41 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.585, allocations: 31.78 kB / 1.538 GB, free: 10.38 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.5854, allocations: 189.8 kB / 1.538 GB, free: 10.17 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.5854, allocations: 16.44 kB / 1.538 GB, free: 10.15 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.5854, allocations: 27.94 kB / 1.538 GB, free: 10.12 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003459/0.5858, allocations: 227.8 kB / 1.538 GB, free: 9.863 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.5858, allocations: 4 kB / 1.538 GB, free: 9.859 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.5858, allocations: 15.94 kB / 1.538 GB, free: 9.844 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.5858, allocations: 4 kB / 1.538 GB, free: 9.84 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.586, allocations: 95.77 kB / 1.538 GB, free: 9.746 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.5871, allocations: 1.395 MB / 1.54 GB, free: 8.27 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 9.801e-05/0.5872, allocations: 169.1 kB / 1.54 GB, free: 8.094 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.143e-05/0.5873, allocations: 80.14 kB / 1.54 GB, free: 8.012 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.5873, allocations: 75.28 kB / 1.54 GB, free: 7.938 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.146e-05/0.5874, allocations: 117.8 kB / 1.54 GB, free: 7.812 MB / 1.232 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.5874, allocations: 4 kB / 1.54 GB, free: 7.809 MB / 1.232 GB Notification: Performance of matching and sorting (n=0): time 8.614e-05/0.5874, allocations: 45.56 kB / 1.54 GB, free: 7.758 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/0.5875, allocations: 134.6 kB / 1.54 GB, free: 7.613 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/0.5878, allocations: 284.2 kB / 1.541 GB, free: 7.328 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.5878, allocations: 25.7 kB / 1.541 GB, free: 7.297 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.588, allocations: 155.9 kB / 1.541 GB, free: 7.141 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 5.41e-06/0.588, allocations: 4 kB / 1.541 GB, free: 7.137 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.588, allocations: 13.72 kB / 1.541 GB, free: 7.117 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.5882, allocations: 334.8 kB / 1.541 GB, free: 6.781 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.627e-05/0.5882, allocations: 8 kB / 1.541 GB, free: 6.773 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.741e-05/0.5882, allocations: 23.44 kB / 1.541 GB, free: 6.738 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.38e-05/0.5883, allocations: 35.38 kB / 1.541 GB, free: 6.691 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.5883, allocations: 4 kB / 1.541 GB, free: 6.688 MB / 1.232 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001441/0.5884, allocations: 73.48 kB / 1.541 GB, free: 6.609 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.5884, allocations: 4 kB / 1.541 GB, free: 6.605 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.5884, allocations: 0 / 1.541 GB, free: 6.605 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.5884, allocations: 8.125 kB / 1.541 GB, free: 6.598 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.605e-05/0.5885, allocations: 4 kB / 1.541 GB, free: 6.594 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.5885, allocations: 7.922 kB / 1.541 GB, free: 6.586 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.009e-05/0.5886, allocations: 23.78 kB / 1.541 GB, free: 6.562 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.5886, allocations: 0 / 1.541 GB, free: 6.562 MB / 1.232 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.0001397/0.5887, allocations: 209.7 kB / 1.541 GB, free: 6.348 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.368e-05/0.5888, allocations: 124.8 kB / 1.542 GB, free: 6.219 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.319e-05/0.5889, allocations: 125.9 kB / 1.542 GB, free: 6.086 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.943e-05/0.589, allocations: 188.3 kB / 1.542 GB, free: 5.895 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.963e-05/0.589, allocations: 176.3 kB / 1.542 GB, free: 5.715 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.878e-05/0.5891, allocations: 184.2 kB / 1.542 GB, free: 5.527 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.5895, allocations: 444.3 kB / 1.543 GB, free: 5.043 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.994e-05/0.5895, allocations: 113 kB / 1.543 GB, free: 4.926 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.542e-05/0.5896, allocations: 105 kB / 1.543 GB, free: 4.816 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.532e-05/0.5897, allocations: 176.3 kB / 1.543 GB, free: 4.637 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.01e-05/0.5897, allocations: 192.2 kB / 1.543 GB, free: 4.441 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.723e-05/0.5898, allocations: 176.3 kB / 1.543 GB, free: 4.262 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.131e-05/0.5899, allocations: 180.2 kB / 1.543 GB, free: 4.078 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.5901, allocations: 331.6 kB / 1.544 GB, free: 3.73 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 8.277e-05/0.5902, allocations: 124.8 kB / 1.544 GB, free: 3.602 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.5903, allocations: 184.3 kB / 1.544 GB, free: 3.414 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.5904, allocations: 108.9 kB / 1.544 GB, free: 3.301 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.195e-05/0.5905, allocations: 180.3 kB / 1.544 GB, free: 3.117 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.177e-05/0.5905, allocations: 108.9 kB / 1.544 GB, free: 3.004 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0002145/0.5908, allocations: 207.1 kB / 1.545 GB, free: 2.801 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.5908, allocations: 0 / 1.545 GB, free: 2.801 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0002614/0.591, allocations: 27.94 kB / 1.545 GB, free: 2.773 MB / 1.232 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.0004784/0.5915, allocations: 0.8281 MB / 1.546 GB, free: 1.914 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 7.763e-05/0.5916, allocations: 11.94 kB / 1.546 GB, free: 1.902 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5916, allocations: 0 / 1.546 GB, free: 1.902 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.5916, allocations: 0 / 1.546 GB, free: 1.902 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007891/0.5924, allocations: 0.5288 MB / 1.546 GB, free: 1.371 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.5947, allocations: 2.233 MB / 1.548 GB, free: 15.05 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.5951, allocations: 0.7206 MB / 1.549 GB, free: 14.3 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 7.909e-05/0.5951, allocations: 25.94 kB / 1.549 GB, free: 14.27 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.059e-05/0.5952, allocations: 55.42 kB / 1.549 GB, free: 14.22 MB / 1.248 GB Notification: Performance of SimCode: time 4.61e-07/0.5952, allocations: 0 / 1.549 GB, free: 14.22 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03364/0.6288, allocations: 4.811 MB / 1.554 GB, free: 9.566 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.16, allocations: 21.06 kB / 1.554 GB, free: 9.551 MB / 1.248 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: 19.06253024796024]