Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.001321/0.001321, allocations: 109.5 kB / 19.72 MB, free: 2.082 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.002174/0.002174, allocations: 216.7 kB / 23.04 MB, free: 4.914 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.616/1.616, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.848/2.848, allocations: 476.7 MB / 0.7715 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.002035/0.002035, allocations: 61.11 kB / 1.118 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4238, allocations: 170 MB / 1.284 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003501/0.4273, allocations: 1.708 MB / 1.286 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009538/0.4283, allocations: 404.6 kB / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.037e-05/0.4284, allocations: 0 / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.4285, allocations: 11.86 kB / 1.286 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.22e-05/0.4285, allocations: 23.78 kB / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000528/0.4291, allocations: 126.3 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.4293, allocations: 111.6 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.4294, allocations: 31.44 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.239e-05/0.4295, allocations: 43.84 kB / 1.287 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.925e-05/0.4296, allocations: 39.84 kB / 1.287 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.4296, allocations: 8 kB / 1.287 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.4298, allocations: 63.94 kB / 1.287 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.658e-05/0.4298, allocations: 19.92 kB / 1.287 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.935e-05/0.4299, allocations: 51.72 kB / 1.287 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.4302, allocations: 123.5 kB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4302, allocations: 0 / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.073e-06/0.4302, allocations: 4 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.4302, allocations: 0 / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007254/0.4309, allocations: 347.7 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/0.431, allocations: 12.03 kB / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.297e-05/0.431, allocations: 4.188 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.826e-05/0.4311, allocations: 42.73 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002771/0.4313, allocations: 36.75 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.4316, allocations: 142.3 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.202e-05/0.4317, allocations: 63.97 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.4318, allocations: 4.375 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.4321, allocations: 109.7 kB / 1.288 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.4321, allocations: 0 / 1.288 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.4321, allocations: 4 kB / 1.288 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4321, allocations: 8 kB / 1.288 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.4323, allocations: 83.88 kB / 1.288 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007361/0.4331, allocations: 339.7 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005358/0.4336, allocations: 138.6 kB / 1.288 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.4337, allocations: 36.83 kB / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.4337, allocations: 3.984 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.4338, allocations: 34.56 kB / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.4338, allocations: 4 kB / 1.288 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004457/0.4342, allocations: 133.5 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.4343, allocations: 59.34 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.4344, allocations: 139.7 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.4345, allocations: 29.64 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.91e-05/0.4345, allocations: 100.1 kB / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.4346, allocations: 19.8 kB / 1.289 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.4346, allocations: 29.7 kB / 1.289 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.4348, allocations: 314.8 kB / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.4349, allocations: 31.97 kB / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.435, allocations: 45.69 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.4352, allocations: 85.77 kB / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4352, allocations: 0 / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002644/0.4355, allocations: 105.6 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.4355, allocations: 8 kB / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4355, allocations: 0 / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.4356, allocations: 3.938 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.4357, allocations: 23.92 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.4357, allocations: 8.031 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.529e-05/0.4358, allocations: 7.953 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.4358, allocations: 4 kB / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0001048/0.4359, allocations: 113.8 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.4359, allocations: 11.95 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.458e-05/0.4359, allocations: 16.66 kB / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4359, allocations: 0 / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.436, allocations: 0 / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.436, allocations: 8 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.4362, allocations: 168.6 kB / 1.29 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.4362, allocations: 3.938 kB / 1.29 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.753e-05/0.4363, allocations: 15.98 kB / 1.29 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4363, allocations: 7.938 kB / 1.29 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.4363, allocations: 3.938 kB / 1.29 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4363, allocations: 0 / 1.29 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.4363, allocations: 4 kB / 1.29 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.4366, allocations: 203.5 kB / 1.29 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.041e-05/0.4367, allocations: 15.94 kB / 1.29 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.4367, allocations: 3.938 kB / 1.29 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.4368, allocations: 11.98 kB / 1.29 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.4369, allocations: 0 / 1.29 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.4369, allocations: 15.92 kB / 1.29 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.44e-05/0.437, allocations: 105.9 kB / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.437, allocations: 0 / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002393/0.4372, allocations: 23.95 kB / 1.29 GB, free: 5.363 MB / 0.9825 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 (7): * Single equations (assignments): 7 * 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.0006381/0.4378, allocations: 0.7325 MB / 1.291 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002754/0.4381, allocations: 83.88 kB / 1.291 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4381, allocations: 0 / 1.291 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.4382, allocations: 39.97 kB / 1.291 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.4386, allocations: 15.98 kB / 1.291 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.4406, allocations: 1.548 MB / 1.292 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.441, allocations: 0.6961 MB / 1.293 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.221e-05/0.4411, allocations: 12.67 kB / 1.293 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.499e-05/0.4411, allocations: 27.61 kB / 1.293 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of SimCode: time 1.032e-06/0.4411, allocations: 0 / 1.293 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.4642, allocations: 2.898 MB / 1.296 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.62, allocations: 10.88 kB / 1.296 GB, free: 15.33 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.942562963988166]