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.002073/0.002073, allocations: 117.4 kB / 17.17 MB, free: 5.977 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: 214.3 kB / 20.13 MB, free: 3.035 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.56/1.56, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.958/2.958, allocations: 476.7 MB / 0.7678 GB, free: 9.402 MB / 0.6075 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.002076/0.002076, allocations: 63.91 kB / 1.113 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.274/1.276, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003606/1.28, allocations: 1.692 MB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009134/1.281, allocations: 408.2 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.565e-05/1.281, allocations: 2.156 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000132/1.281, allocations: 9.844 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.303e-05/1.281, allocations: 26.16 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005202/1.281, allocations: 120 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002495/1.282, allocations: 118.8 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/1.282, allocations: 28.31 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/1.282, allocations: 36.39 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/1.282, allocations: 45.73 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/1.282, allocations: 7.875 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/1.282, allocations: 64.81 kB / 1.281 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.552e-05/1.282, allocations: 23.48 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.542e-05/1.282, allocations: 43.23 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004238/1.283, allocations: 129.3 kB / 1.282 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/1.283, allocations: 8.5 kB / 1.282 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.136e-06/1.283, allocations: 0.7812 kB / 1.282 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.568e-06/1.283, allocations: 0 / 1.282 GB, free: 9.984 MB / 0.9981 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.0009167/1.284, allocations: 417.6 kB / 1.282 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 8.068e-05/1.284, allocations: 9.938 kB / 1.282 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.207e-05/1.284, allocations: 5.719 kB / 1.282 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.367e-05/1.284, allocations: 43.98 kB / 1.282 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003221/1.284, allocations: 31.83 kB / 1.282 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/1.285, allocations: 193.6 kB / 1.282 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-05/1.285, allocations: 32.3 kB / 1.282 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/1.285, allocations: 9.5 kB / 1.282 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004263/1.285, allocations: 110.5 kB / 1.282 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/1.285, allocations: 0 / 1.282 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/1.285, allocations: 9 kB / 1.282 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/1.285, allocations: 2.062 kB / 1.282 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003312/1.286, allocations: 78.72 kB / 1.282 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009449/1.287, allocations: 391.1 kB / 1.283 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005932/1.287, allocations: 123.3 kB / 1.283 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/1.287, allocations: 36.72 kB / 1.283 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/1.287, allocations: 1.094 kB / 1.283 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/1.287, allocations: 40.44 kB / 1.283 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/1.287, allocations: 0 / 1.283 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0005174/1.288, allocations: 142 kB / 1.283 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/1.288, allocations: 57.25 kB / 1.283 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/1.288, allocations: 133.5 kB / 1.283 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/1.288, allocations: 27.02 kB / 1.283 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.131e-05/1.288, allocations: 102.6 kB / 1.284 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/1.288, allocations: 24.84 kB / 1.284 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/1.288, allocations: 19.92 kB / 1.284 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000177/1.289, allocations: 319 kB / 1.284 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/1.289, allocations: 31.03 kB / 1.284 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/1.289, allocations: 43.44 kB / 1.284 GB, free: 8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/1.289, allocations: 83.69 kB / 1.284 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.289, allocations: 0 / 1.284 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003115/1.289, allocations: 116.4 kB / 1.284 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.289, allocations: 8.547 kB / 1.284 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/1.289, allocations: 3.938 kB / 1.284 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/1.289, allocations: 9.188 kB / 1.284 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/1.29, allocations: 25.66 kB / 1.284 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/1.29, allocations: 1.312 kB / 1.284 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.848e-05/1.29, allocations: 16.08 kB / 1.284 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/1.29, allocations: 1.344 kB / 1.284 GB, free: 7.867 MB / 0.9981 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.0001487/1.29, allocations: 118.5 kB / 1.284 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/1.29, allocations: 8.719 kB / 1.284 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.111e-05/1.29, allocations: 16.91 kB / 1.284 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/1.29, allocations: 0 / 1.284 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.29, allocations: 5.312 kB / 1.284 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/1.29, allocations: 0.7031 kB / 1.284 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002885/1.29, allocations: 202.9 kB / 1.285 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.29, allocations: 0 / 1.285 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/1.29, allocations: 19.48 kB / 1.285 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/1.29, allocations: 2.188 kB / 1.285 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/1.29, allocations: 3.938 kB / 1.285 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.29, allocations: 0 / 1.285 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.29, allocations: 2.141 kB / 1.285 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/1.291, allocations: 200.8 kB / 1.285 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.87e-05/1.291, allocations: 84.55 kB / 1.285 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/1.291, allocations: 4.5 kB / 1.285 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/1.291, allocations: 14.84 kB / 1.285 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/1.291, allocations: 4.891 kB / 1.285 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/1.291, allocations: 4.891 kB / 1.285 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.628e-05/1.291, allocations: 106.5 kB / 1.285 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.291, allocations: 0 / 1.285 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002532/1.291, allocations: 24.52 kB / 1.285 GB, free: 7.148 MB / 0.9981 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.0007385/1.292, allocations: 0.7401 MB / 1.286 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003141/1.292, allocations: 81.03 kB / 1.286 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.292, allocations: 0 / 1.286 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/1.293, allocations: 35.92 kB / 1.286 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/1.293, allocations: 26.23 kB / 1.286 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/1.295, allocations: 1.551 MB / 1.287 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/1.296, allocations: 0.7016 MB / 1.288 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001046/1.296, allocations: 8.703 kB / 1.288 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.144e-05/1.296, allocations: 25.33 kB / 1.288 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/1.296, allocations: 0 / 1.288 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/1.316, allocations: 2.801 MB / 1.291 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.592/9.908, allocations: 5 kB / 1.291 GB, free: 3.898 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.620936858002096]