Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.001691/0.001691, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.001913/0.001913, allocations: 165.6 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.456/1.456, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.826/2.826, allocations: 377.8 MB / 0.6221 GB, free: 12.62 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.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.9815 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.595e-05/2.753e-05, allocations: 2.281 kB / 0.9815 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002349/0.002376, allocations: 1.31 MB / 0.9827 GB, free: 9.613 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.003456, allocations: 0.5919 MB / 0.9833 GB, free: 9.02 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.06e-05/0.003476, allocations: 4 kB / 0.9833 GB, free: 9.016 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.003491, allocations: 0 / 0.9833 GB, free: 9.016 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.769e-05/0.003529, allocations: 11.86 kB / 0.9833 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.003947, allocations: 111.4 kB / 0.9834 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.779e-05/0.004005, allocations: 19.88 kB / 0.9835 GB, free: 8.875 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.455e-05/0.004039, allocations: 3.984 kB / 0.9835 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.415e-05/0.004073, allocations: 12 kB / 0.9835 GB, free: 8.859 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.706e-05/0.00413, allocations: 19.91 kB / 0.9835 GB, free: 8.84 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.004146, allocations: 4 kB / 0.9835 GB, free: 8.836 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.004408, allocations: 135.7 kB / 0.9836 GB, free: 8.703 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.004425, allocations: 11.92 kB / 0.9836 GB, free: 8.691 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.958e-05/0.004445, allocations: 7.938 kB / 0.9836 GB, free: 8.684 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.004672, allocations: 111.7 kB / 0.9837 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.004677, allocations: 4 kB / 0.9837 GB, free: 8.57 MB / 0.8887 GB Notification: Performance of FrontEnd: time 6.61e-07/0.004677, allocations: 0 / 0.9837 GB, free: 8.57 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.004684, allocations: 0 / 0.9837 GB, free: 8.57 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004248/0.005109, allocations: 278.1 kB / 0.984 GB, free: 8.266 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.005142, allocations: 16.03 kB / 0.984 GB, free: 8.25 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004529/0.005595, allocations: 28.84 kB / 0.9841 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.647e-05/0.005692, allocations: 113.7 kB / 0.9842 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.005702, allocations: 4.375 kB / 0.9842 GB, free: 8.082 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.005726, allocations: 8.328 kB / 0.9842 GB, free: 8.074 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.005923, allocations: 79.92 kB / 0.9843 GB, free: 7.984 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.00593, allocations: 4.188 kB / 0.9843 GB, free: 7.98 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.005941, allocations: 384 / 0.9843 GB, free: 7.98 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.005947, allocations: 4.375 kB / 0.9843 GB, free: 7.977 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.006096, allocations: 31.91 kB / 0.9843 GB, free: 7.945 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.006264, allocations: 109.4 kB / 0.9844 GB, free: 7.809 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.006595, allocations: 70.47 kB / 0.9845 GB, free: 7.73 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.027e-05/0.006685, allocations: 24.94 kB / 0.9845 GB, free: 7.703 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.006702, allocations: 0 / 0.9845 GB, free: 7.703 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.006733, allocations: 38.56 kB / 0.9845 GB, free: 7.656 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.006734, allocations: 0 / 0.9845 GB, free: 7.656 MB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.003548/0.01028, allocations: 0.501 MB / 0.985 GB, free: 7.121 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.01032, allocations: 59.34 kB / 0.9851 GB, free: 7.051 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.694e-05/0.0104, allocations: 97.84 kB / 0.9852 GB, free: 6.945 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.01043, allocations: 29.7 kB / 0.9852 GB, free: 6.91 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.01047, allocations: 80.14 kB / 0.9853 GB, free: 6.828 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/0.01051, allocations: 19.86 kB / 0.9853 GB, free: 6.809 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-05/0.01058, allocations: 25.69 kB / 0.9853 GB, free: 6.777 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.01072, allocations: 318.8 kB / 0.9856 GB, free: 6.457 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.01088, allocations: 36.09 kB / 0.9857 GB, free: 6.422 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.01103, allocations: 43.91 kB / 0.9857 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/0.01133, allocations: 80.8 kB / 0.9858 GB, free: 6.297 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.01133, allocations: 0 / 0.9858 GB, free: 6.297 MB / 0.8887 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003936/0.01173, allocations: 121.6 kB / 0.9859 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.01175, allocations: 8 kB / 0.9859 GB, free: 6.164 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.01176, allocations: 0 / 0.9859 GB, free: 6.164 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.01177, allocations: 0 / 0.9859 GB, free: 6.164 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.012, allocations: 23.97 kB / 0.9859 GB, free: 6.141 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.078e-06/0.01201, allocations: 11.86 kB / 0.9859 GB, free: 6.129 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.01216, allocations: 8 kB / 0.9859 GB, free: 6.121 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.01218, allocations: 3.984 kB / 0.9859 GB, free: 6.117 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.0001014/0.01228, allocations: 117.8 kB / 0.9861 GB, free: 5.992 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.01231, allocations: 7.953 kB / 0.9861 GB, free: 5.984 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.385e-05/0.01238, allocations: 12.12 kB / 0.9861 GB, free: 5.969 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01238, allocations: 0 / 0.9861 GB, free: 5.969 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.01239, allocations: 3.938 kB / 0.9861 GB, free: 5.965 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.01239, allocations: 0 / 0.9861 GB, free: 5.965 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.01255, allocations: 127.5 kB / 0.9862 GB, free: 5.812 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01255, allocations: 0 / 0.9862 GB, free: 5.812 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.01278, allocations: 23.97 kB / 0.9862 GB, free: 5.789 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.01278, allocations: 0 / 0.9862 GB, free: 5.789 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.0128, allocations: 3.984 kB / 0.9862 GB, free: 5.785 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.0128, allocations: 0 / 0.9862 GB, free: 5.785 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.0128, allocations: 4 kB / 0.9862 GB, free: 5.781 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006146/0.01342, allocations: 201 kB / 0.9864 GB, free: 5.566 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.01343, allocations: 3.953 kB / 0.9864 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.01346, allocations: 4.031 kB / 0.9864 GB, free: 5.559 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.01365, allocations: 16.05 kB / 0.9864 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.01367, allocations: 4 kB / 0.9864 GB, free: 5.539 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.01369, allocations: 7.922 kB / 0.9865 GB, free: 5.531 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 4.464e-05/0.01373, allocations: 79.28 kB / 0.9865 GB, free: 5.453 MB / 0.8887 GB Notification: Performance of sort global known variables: time 7e-08/0.01373, allocations: 0 / 0.9865 GB, free: 5.453 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002598/0.01399, allocations: 35.88 kB / 0.9866 GB, free: 5.418 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0002536/0.01425, allocations: 131.2 kB / 0.9867 GB, free: 5.281 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003774/0.01462, allocations: 88.11 kB / 0.9868 GB, free: 5.195 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.01463, allocations: 0 / 0.9868 GB, free: 5.195 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.01479, allocations: 47.89 kB / 0.9868 GB, free: 5.148 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.01505, allocations: 8.156 kB / 0.9868 GB, free: 5.141 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007022/0.01575, allocations: 160.7 kB / 0.987 GB, free: 4.957 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.323e-05/0.01581, allocations: 67.28 kB / 0.987 GB, free: 4.871 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001589/0.01597, allocations: 24 kB / 0.9871 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.429e-05/0.01605, allocations: 20.42 kB / 0.9871 GB, free: 4.828 MB / 0.8887 GB Notification: Performance of SimCode: time 3.01e-07/0.01605, allocations: 0 / 0.9871 GB, free: 4.828 MB / 0.8887 GB Notification: Performance of Templates: time 0.004901/0.02095, allocations: 1.597 MB / 0.9886 GB, free: 3.297 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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: 7.894220806658268]