Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008546/0.0008546, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007938/0.0007938, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8764/0.8764, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.773/1.773, allocations: 377.8 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 0 / 0.9809 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.906e-05/2.109e-05, allocations: 6.281 kB / 0.9809 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002121/0.002142, allocations: 1.669 MB / 0.9826 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0005503/0.002692, allocations: 382.7 kB / 0.9829 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.804e-05/0.00276, allocations: 0 / 0.9829 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 9.703e-05/0.002857, allocations: 11.86 kB / 0.9829 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.293e-05/0.0029, allocations: 19.8 kB / 0.983 GB, free: 496 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.003274, allocations: 118.6 kB / 0.9831 GB, free: 380 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.003412, allocations: 119.5 kB / 0.9832 GB, free: 260 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.003534, allocations: 27.95 kB / 0.9832 GB, free: 232 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.321e-05/0.003618, allocations: 59.88 kB / 0.9833 GB, free: 172 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.367e-05/0.003671, allocations: 27.97 kB / 0.9833 GB, free: 144 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.00369, allocations: 4 kB / 0.9833 GB, free: 140 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.332e-05/0.003784, allocations: 59.89 kB / 0.9834 GB, free: 80 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.14e-05/0.003805, allocations: 19.97 kB / 0.9834 GB, free: 60 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.302e-05/0.003838, allocations: 35.91 kB / 0.9834 GB, free: 24 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.004049, allocations: 147.5 kB / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004051, allocations: 0 / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.062e-06/0.004052, allocations: 0 / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.004057, allocations: 4 kB / 0.9836 GB, free: 15.88 MB / 0.948 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.000464/0.004521, allocations: 344.6 kB / 0.9839 GB, free: 15.51 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.004564, allocations: 8.031 kB / 0.9839 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.905e-05/0.004603, allocations: 46.75 kB / 0.9839 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.004761, allocations: 28.86 kB / 0.984 GB, free: 15.42 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.004978, allocations: 141.6 kB / 0.9841 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002395/0.005218, allocations: 63.97 kB / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.005229, allocations: 8.312 kB / 0.9842 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.005427, allocations: 127.9 kB / 0.9843 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.005435, allocations: 4.188 kB / 0.9843 GB, free: 15.03 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.00545, allocations: 8.359 kB / 0.9843 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.005456, allocations: 3.938 kB / 0.9843 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.005606, allocations: 87.78 kB / 0.9844 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000494/0.0061, allocations: 335.6 kB / 0.9847 GB, free: 14.56 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003305/0.00643, allocations: 126.5 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.861e-05/0.006499, allocations: 36.88 kB / 0.9849 GB, free: 14.39 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.006512, allocations: 4 kB / 0.9849 GB, free: 14.39 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.006533, allocations: 30.56 kB / 0.9849 GB, free: 14.35 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.006534, allocations: 4 kB / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0002921/0.006826, allocations: 137.7 kB / 0.985 GB, free: 14.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.006858, allocations: 51.41 kB / 0.9851 GB, free: 14.14 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.95e-05/0.006947, allocations: 140.1 kB / 0.9852 GB, free: 14 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.006964, allocations: 29.7 kB / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.31e-05/0.007017, allocations: 108 kB / 0.9854 GB, free: 13.85 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.007042, allocations: 27.75 kB / 0.9854 GB, free: 13.82 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.007077, allocations: 17.72 kB / 0.9854 GB, free: 13.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.338e-05/0.00716, allocations: 326.8 kB / 0.9857 GB, free: 13.47 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.241e-05/0.007223, allocations: 27.97 kB / 0.9857 GB, free: 13.45 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.727e-05/0.00729, allocations: 45.7 kB / 0.9858 GB, free: 13.39 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.007411, allocations: 78.08 kB / 0.9859 GB, free: 13.31 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.007414, allocations: 0 / 0.9859 GB, free: 13.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001615/0.007576, allocations: 113.6 kB / 0.986 GB, free: 13.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.00759, allocations: 4 kB / 0.986 GB, free: 13.19 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.007596, allocations: 4 kB / 0.986 GB, free: 13.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.007608, allocations: 0 / 0.986 GB, free: 13.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.477e-05/0.007673, allocations: 19.92 kB / 0.986 GB, free: 13.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.00768, allocations: 4 kB / 0.986 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.082e-05/0.007721, allocations: 15.92 kB / 0.986 GB, free: 13.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.007726, allocations: 0 / 0.986 GB, free: 13.15 MB / 0.948 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.822e-05/0.007795, allocations: 113.9 kB / 0.9861 GB, free: 13.03 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.007814, allocations: 11.95 kB / 0.9861 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.437e-05/0.007838, allocations: 20.77 kB / 0.9861 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.00784, allocations: 0 / 0.9861 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.007845, allocations: 0 / 0.9861 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.007848, allocations: 3.938 kB / 0.9861 GB, free: 12.99 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.007985, allocations: 160.7 kB / 0.9863 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.007985, allocations: 0 / 0.9863 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.545e-05/0.008031, allocations: 15.98 kB / 0.9863 GB, free: 12.78 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.008032, allocations: 0 / 0.9863 GB, free: 12.78 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.008043, allocations: 15.94 kB / 0.9863 GB, free: 12.76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.008043, allocations: 4 kB / 0.9863 GB, free: 12.76 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.008044, allocations: 3.938 kB / 0.9863 GB, free: 12.75 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.008217, allocations: 199.4 kB / 0.9865 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.008232, allocations: 11.89 kB / 0.9865 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.008244, allocations: 4 kB / 0.9865 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.672e-05/0.008321, allocations: 11.98 kB / 0.9866 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.008357, allocations: 7.922 kB / 0.9866 GB, free: 12.51 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.008366, allocations: 7.938 kB / 0.9866 GB, free: 12.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.82e-05/0.008414, allocations: 109.6 kB / 0.9867 GB, free: 12.39 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.008414, allocations: 0 / 0.9867 GB, free: 12.39 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001701/0.008585, allocations: 20 kB / 0.9867 GB, free: 12.38 MB / 0.948 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.0003614/0.008946, allocations: 0.7358 MB / 0.9874 GB, free: 11.61 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001594/0.009105, allocations: 67.95 kB / 0.9875 GB, free: 11.55 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.009107, allocations: 0 / 0.9875 GB, free: 11.55 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.683e-05/0.009164, allocations: 43.97 kB / 0.9875 GB, free: 11.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.009409, allocations: 23.92 kB / 0.9875 GB, free: 11.48 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.01058, allocations: 1.562 MB / 0.9891 GB, free: 9.832 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.104e-05/0.01063, allocations: 79.31 kB / 0.9891 GB, free: 9.734 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.113e-05/0.01068, allocations: 16.72 kB / 0.9892 GB, free: 9.711 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.01073, allocations: 28.48 kB / 0.9892 GB, free: 9.684 MB / 0.948 GB Notification: Performance of SimCode: time 6.92e-07/0.01073, allocations: 0 / 0.9892 GB, free: 9.684 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.02724, allocations: 3.524 MB / 0.9926 GB, free: 6.34 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.146/7.173, allocations: 10.5 kB / 0.9926 GB, free: 6.332 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable humRat.p in file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv. Warning: Get data of variable humRat.p from file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv failed! Error: Could not read variable humRat.p_w in file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv. Warning: Get data of variable humRat.p_w from file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.316842301748693]