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.002014/0.002014, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002643/0.002643, allocations: 170 kB / 22.46 MB, free: 5.359 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.45/1.45, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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 2.904/2.904, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 3.938 kB / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.783e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002941/0.002969, allocations: 1.672 MB / 0.983 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007701/0.003739, allocations: 382.7 kB / 0.9834 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.1e-05/0.00381, allocations: 0 / 0.9834 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.003918, allocations: 7.875 kB / 0.9834 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.33e-05/0.003981, allocations: 27.72 kB / 0.9834 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004853/0.004467, allocations: 117.5 kB / 0.9835 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.004662, allocations: 115.5 kB / 0.9837 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.004796, allocations: 27.98 kB / 0.9837 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.004901, allocations: 59.88 kB / 0.9837 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.603e-05/0.004977, allocations: 35.83 kB / 0.9838 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.005005, allocations: 8 kB / 0.9838 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.005141, allocations: 63.88 kB / 0.9838 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.627e-05/0.005177, allocations: 19.92 kB / 0.9839 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.763e-05/0.005235, allocations: 35.91 kB / 0.9839 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.0055, allocations: 135.6 kB / 0.984 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.005503, allocations: 0 / 0.984 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.02e-07/0.005503, allocations: 0 / 0.984 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.005508, allocations: 4 kB / 0.984 GB, free: 9.262 MB / 0.9356 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.0006241/0.006132, allocations: 353.8 kB / 0.9844 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.006171, allocations: 8.031 kB / 0.9844 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002471/0.006418, allocations: 24.88 kB / 0.9844 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.006664, allocations: 137.6 kB / 0.9845 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.914e-05/0.006753, allocations: 63.91 kB / 0.9846 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.006769, allocations: 4.375 kB / 0.9846 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.007083, allocations: 142.5 kB / 0.9847 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.007092, allocations: 192 / 0.9847 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.00711, allocations: 4.375 kB / 0.9847 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.007117, allocations: 4.125 kB / 0.9847 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002645/0.007382, allocations: 79.94 kB / 0.9848 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006849/0.008067, allocations: 312.1 kB / 0.9851 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005762/0.008643, allocations: 130.6 kB / 0.9852 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.008771, allocations: 36.83 kB / 0.9853 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.008784, allocations: 4 kB / 0.9853 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.008814, allocations: 30.56 kB / 0.9853 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.008815, allocations: 0 / 0.9853 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004643/0.009279, allocations: 137.7 kB / 0.9854 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.009325, allocations: 59.34 kB / 0.9855 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.009445, allocations: 124.7 kB / 0.9856 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.009469, allocations: 25.7 kB / 0.9856 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/0.009533, allocations: 100 kB / 0.9857 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.009561, allocations: 27.75 kB / 0.9858 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.009613, allocations: 21.7 kB / 0.9858 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.00976, allocations: 322.8 kB / 0.9861 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.009879, allocations: 35.97 kB / 0.9861 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.009997, allocations: 41.69 kB / 0.9862 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/0.01023, allocations: 73.69 kB / 0.9862 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01023, allocations: 3.938 kB / 0.9862 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002874/0.01052, allocations: 113.6 kB / 0.9863 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.01053, allocations: 8.031 kB / 0.9863 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.01054, allocations: 0 / 0.9863 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.01055, allocations: 0 / 0.9863 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.01067, allocations: 19.98 kB / 0.9864 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.01068, allocations: 0 / 0.9864 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.562e-05/0.01076, allocations: 15.88 kB / 0.9864 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.01078, allocations: 15.86 kB / 0.9864 GB, free: 6.629 MB / 0.9356 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.0001013/0.01088, allocations: 117.8 kB / 0.9865 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.01092, allocations: 7.953 kB / 0.9865 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.01095, allocations: 20.42 kB / 0.9865 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.01095, allocations: 0 / 0.9865 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.01096, allocations: 4 kB / 0.9865 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.01096, allocations: 0 / 0.9865 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.01115, allocations: 133.2 kB / 0.9867 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.01115, allocations: 0 / 0.9867 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.01125, allocations: 15.98 kB / 0.9867 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.01126, allocations: 0 / 0.9867 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.01126, allocations: 0 / 0.9867 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.01127, allocations: 0 / 0.9867 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.01127, allocations: 4.547 kB / 0.9867 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.01161, allocations: 215.3 kB / 0.9869 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.01162, allocations: 3.953 kB / 0.9869 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.01165, allocations: 15.98 kB / 0.9869 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.01181, allocations: 7.984 kB / 0.9869 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.01185, allocations: 4 kB / 0.9869 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.01186, allocations: 3.984 kB / 0.9869 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.612e-05/0.01193, allocations: 99.27 kB / 0.987 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.01193, allocations: 0 / 0.987 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002627/0.01219, allocations: 23.94 kB / 0.987 GB, free: 5.91 MB / 0.9356 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.0001235/0.01231, allocations: 95.25 kB / 0.9871 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002826/0.0126, allocations: 71.89 kB / 0.9872 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.0126, allocations: 0 / 0.9872 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.01272, allocations: 39.97 kB / 0.9872 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.01307, allocations: 27.92 kB / 0.9873 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004803/0.01355, allocations: 201.1 kB / 0.9875 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.169e-05/0.01363, allocations: 75.33 kB / 0.9875 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.206e-05/0.01369, allocations: 12 kB / 0.9875 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.374e-05/0.01373, allocations: 12.48 kB / 0.9876 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.01374, allocations: 0 / 0.9876 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of Templates: time 0.004469/0.0182, allocations: 1.344 MB / 0.9889 GB, free: 4.02 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.037616301327944]