Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009543/0.0009543, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001717/0.001717, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.864/0.864, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.792/1.792, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/1.976e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002071/0.00209, allocations: 1.661 MB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0005622/0.002652, allocations: 382.6 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.219e-05/0.002715, allocations: 4 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.273e-05/0.002807, allocations: 7.875 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.476e-05/0.002852, allocations: 23.78 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006364/0.003489, allocations: 125.6 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.003627, allocations: 111.5 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.003756, allocations: 23.98 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.878e-05/0.003834, allocations: 59.88 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.798e-05/0.003892, allocations: 27.91 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.003913, allocations: 8 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.004015, allocations: 63.92 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.004036, allocations: 19.98 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.00407, allocations: 35.91 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.004256, allocations: 151.4 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.004258, allocations: 0 / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.81e-07/0.004259, allocations: 0 / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.004263, allocations: 0 / 1.002 GB, free: 10.82 MB / 0.9636 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.0004478/0.004711, allocations: 341.8 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.004753, allocations: 8.75 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.607e-05/0.004789, allocations: 42.75 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.004943, allocations: 32.86 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.005118, allocations: 137 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.056e-05/0.005178, allocations: 63.97 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.00519, allocations: 4.375 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.005375, allocations: 131.8 kB / 1.003 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.005382, allocations: 192 / 1.003 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.005396, allocations: 4.375 kB / 1.003 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.005402, allocations: 11.94 kB / 1.003 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.005544, allocations: 77.81 kB / 1.003 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.006033, allocations: 339.6 kB / 1.003 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.006368, allocations: 126.6 kB / 1.004 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.244e-05/0.006441, allocations: 44.83 kB / 1.004 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.006455, allocations: 0 / 1.004 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.00648, allocations: 38.5 kB / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.006481, allocations: 3.938 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0002881/0.006769, allocations: 133.7 kB / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.006801, allocations: 55.41 kB / 1.004 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.492e-05/0.006895, allocations: 141.8 kB / 1.004 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.006911, allocations: 29.7 kB / 1.004 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.049e-05/0.006961, allocations: 104 kB / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.006984, allocations: 27.78 kB / 1.004 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.007019, allocations: 17.72 kB / 1.004 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.152e-05/0.00711, allocations: 318.8 kB / 1.004 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.745e-05/0.007168, allocations: 27.98 kB / 1.004 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-05/0.007234, allocations: 53.92 kB / 1.004 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.007358, allocations: 77.67 kB / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.00736, allocations: 0 / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001586/0.007519, allocations: 117.5 kB / 1.005 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.007532, allocations: 5.875 kB / 1.005 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.007538, allocations: 0 / 1.005 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.007551, allocations: 0 / 1.005 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.292e-05/0.007614, allocations: 19.98 kB / 1.005 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.00762, allocations: 4.031 kB / 1.005 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.306e-05/0.007663, allocations: 23.81 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.007669, allocations: 4 kB / 1.005 GB, free: 8.09 MB / 0.9636 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 6.823e-05/0.007737, allocations: 113.8 kB / 1.005 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.007755, allocations: 7.953 kB / 1.005 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/0.007782, allocations: 16.78 kB / 1.005 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.007785, allocations: 3.938 kB / 1.005 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.007789, allocations: 0 / 1.005 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.007796, allocations: 7.922 kB / 1.005 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.007945, allocations: 152.7 kB / 1.005 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.007946, allocations: 4 kB / 1.005 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.776e-05/0.007993, allocations: 15.98 kB / 1.005 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.007995, allocations: 0 / 1.005 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.008004, allocations: 4 kB / 1.005 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.008005, allocations: 0 / 1.005 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.008006, allocations: 0 / 1.005 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.008189, allocations: 203.4 kB / 1.005 GB, free: 7.5 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.389e-05/0.008203, allocations: 15.88 kB / 1.005 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.008215, allocations: 8 kB / 1.005 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.008288, allocations: 7.984 kB / 1.005 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.008323, allocations: 7.938 kB / 1.005 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.008333, allocations: 7.922 kB / 1.005 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.649e-05/0.008379, allocations: 103.3 kB / 1.005 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.008379, allocations: 0 / 1.005 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001688/0.008548, allocations: 27.94 kB / 1.005 GB, free: 7.324 MB / 0.9636 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.0003586/0.008907, allocations: 0.7319 MB / 1.006 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001614/0.009068, allocations: 75.89 kB / 1.006 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.00907, allocations: 0 / 1.006 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.606e-05/0.009126, allocations: 35.97 kB / 1.006 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.009369, allocations: 40.48 kB / 1.006 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.01069, allocations: 1.548 MB / 1.008 GB, free: 4.777 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.954e-05/0.01077, allocations: 79.33 kB / 1.008 GB, free: 4.68 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.617e-05/0.01082, allocations: 16.66 kB / 1.008 GB, free: 4.66 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/0.01089, allocations: 24.5 kB / 1.008 GB, free: 4.637 MB / 0.9636 GB Notification: Performance of SimCode: time 7.62e-07/0.01089, allocations: 0 / 1.008 GB, free: 4.637 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.02597, allocations: 3.531 MB / 1.011 GB, free: 1.273 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.803/6.829, allocations: 7.312 kB / 1.011 GB, free: 1.273 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.938887438736856]