Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.001024/0.001024, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001407/0.001407, allocations: 177 kB / 23.49 MB, free: 1.059 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.9218/0.9218, allocations: 177.1 MB / 203.8 MB, free: 5.641 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 2.128/2.128, allocations: 429.5 MB / 0.6736 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 4 kB / 0.8782 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.638e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001677/0.001704, allocations: 1.312 MB / 0.8795 GB, free: 5.309 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003969/0.002101, allocations: 238.3 kB / 0.8797 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.108e-05/0.002122, allocations: 0.7656 kB / 0.8797 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.002142, allocations: 3.938 kB / 0.8797 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.787e-05/0.00218, allocations: 0.5469 kB / 0.8797 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.00246, allocations: 40.83 kB / 0.8798 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.227e-05/0.002523, allocations: 19.92 kB / 0.8798 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.998e-05/0.002563, allocations: 4 kB / 0.8798 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.678e-05/0.002599, allocations: 16.91 kB / 0.8798 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.061e-05/0.00267, allocations: 4 kB / 0.8798 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.002684, allocations: 0 / 0.8798 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.023e-05/0.002764, allocations: 45.02 kB / 0.8798 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.00278, allocations: 8 kB / 0.8799 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.841e-05/0.002798, allocations: 7.969 kB / 0.8799 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.002912, allocations: 52.89 kB / 0.8799 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.002914, allocations: 0 / 0.8799 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.52e-07/0.002915, allocations: 0 / 0.8799 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.002919, allocations: 1.062 kB / 0.8799 GB, free: 4.887 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003385/0.003258, allocations: 365.5 kB / 0.8803 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.003294, allocations: 8.031 kB / 0.8803 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.003438, allocations: 21.56 kB / 0.8803 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.069e-05/0.003498, allocations: 104.6 kB / 0.8804 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.00351, allocations: 6.031 kB / 0.8804 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.003529, allocations: 4.375 kB / 0.8804 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.003633, allocations: 67.95 kB / 0.8805 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.00364, allocations: 192 / 0.8805 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.00365, allocations: 4.375 kB / 0.8805 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.003658, allocations: 0.875 kB / 0.8805 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.602e-05/0.003694, allocations: 21.7 kB / 0.8805 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.003822, allocations: 116.6 kB / 0.8806 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.848e-05/0.00391, allocations: 51.09 kB / 0.8807 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.038e-05/0.003941, allocations: 19.81 kB / 0.8807 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.647e-06/0.003949, allocations: 5.094 kB / 0.8807 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.003971, allocations: 37.38 kB / 0.8807 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 2.414e-06/0.003974, allocations: 1.594 kB / 0.8807 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.001144/0.005117, allocations: 441.9 kB / 0.8811 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.005146, allocations: 55.34 kB / 0.8812 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.733e-05/0.005184, allocations: 142.2 kB / 0.8813 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.005195, allocations: 25.7 kB / 0.8813 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.956e-05/0.005225, allocations: 130.9 kB / 0.8815 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.00526, allocations: 31.73 kB / 0.8815 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.005294, allocations: 27.38 kB / 0.8815 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.005406, allocations: 0.4884 MB / 0.882 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.167e-05/0.005438, allocations: 16 kB / 0.882 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.998e-05/0.005468, allocations: 27.98 kB / 0.882 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.377e-05/0.005551, allocations: 59.56 kB / 0.8821 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.005552, allocations: 0 / 0.8821 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001044/0.005657, allocations: 85.88 kB / 0.8822 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.005671, allocations: 8 kB / 0.8822 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.005675, allocations: 3.938 kB / 0.8822 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.005688, allocations: 0 / 0.8822 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.124e-05/0.005779, allocations: 15.98 kB / 0.8822 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.005785, allocations: 3.938 kB / 0.8822 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.953e-05/0.005814, allocations: 4 kB / 0.8822 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.005821, allocations: 8 kB / 0.8822 GB, free: 2.289 MB / 0.8386 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 (9): * Single equations (assignments): 9 * 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.464e-05/0.005886, allocations: 152.6 kB / 0.8824 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.005899, allocations: 8 kB / 0.8824 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.005927, allocations: 11.97 kB / 0.8824 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.005932, allocations: 4 kB / 0.8824 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.005938, allocations: 7.922 kB / 0.8824 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.005941, allocations: 0 / 0.8824 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.271e-05/0.006024, allocations: 126.6 kB / 0.8825 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.006025, allocations: 0 / 0.8825 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.226e-05/0.006097, allocations: 19.92 kB / 0.8825 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.006099, allocations: 4 kB / 0.8825 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.006109, allocations: 4.438 kB / 0.8826 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.006111, allocations: 0 / 0.8826 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.006111, allocations: 0 / 0.8826 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.006291, allocations: 152.3 kB / 0.8827 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-06/0.006298, allocations: 8 kB / 0.8827 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.00631, allocations: 0 / 0.8827 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.607e-05/0.006356, allocations: 8 kB / 0.8827 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/0.006376, allocations: 3.984 kB / 0.8827 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.006384, allocations: 7.938 kB / 0.8827 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.545e-05/0.006409, allocations: 119.2 kB / 0.8828 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.1e-08/0.00641, allocations: 4.031 kB / 0.8828 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001289/0.006538, allocations: 11.94 kB / 0.8829 GB, free: 1.582 MB / 0.8386 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 (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 Backend phase and start with SimCode phase: time 8.255e-05/0.006621, allocations: 103.2 kB / 0.883 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.006741, allocations: 63.64 kB / 0.883 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.006743, allocations: 7.938 kB / 0.883 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.647e-05/0.006779, allocations: 39.61 kB / 0.8831 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.006924, allocations: 8 kB / 0.8831 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005436/0.007468, allocations: 170.3 kB / 0.8832 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.268e-05/0.007501, allocations: 71.3 kB / 0.8833 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.082e-05/0.007551, allocations: 7.984 kB / 0.8833 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.007587, allocations: 12.5 kB / 0.8833 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of SimCode: time 1.142e-06/0.007588, allocations: 0 / 0.8833 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of Templates: time 0.002372/0.00996, allocations: 0.7257 MB / 0.884 GB, free: 376 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.294758142903447]