Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 186.4 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.13/3.13, allocations: 496 MB / 0.7835 GB, free: 33.47 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_12_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_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 66.92 kB / 1.138 GB, free: 33.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3315, allocations: 173.6 MB / 1.307 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.00231/0.3338, allocations: 1.273 MB / 1.309 GB, free: 480 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005265/0.3344, allocations: 239.2 kB / 1.309 GB, free: 240 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.973e-05/0.3344, allocations: 0 / 1.309 GB, free: 240 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.503e-05/0.3344, allocations: 0 / 1.309 GB, free: 240 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.379e-05/0.3344, allocations: 0 / 1.309 GB, free: 240 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.3347, allocations: 43.77 kB / 1.309 GB, free: 196 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.758e-05/0.3348, allocations: 19.97 kB / 1.309 GB, free: 176 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.701e-05/0.3348, allocations: 4 kB / 1.309 GB, free: 172 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.384e-05/0.3349, allocations: 15.92 kB / 1.309 GB, free: 156 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.835e-05/0.3349, allocations: 11.94 kB / 1.309 GB, free: 144 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.3349, allocations: 0 / 1.309 GB, free: 144 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.335, allocations: 43.95 kB / 1.309 GB, free: 100 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.3351, allocations: 4 kB / 1.309 GB, free: 96 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.3351, allocations: 15.91 kB / 1.309 GB, free: 80 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.3352, allocations: 35.91 kB / 1.309 GB, free: 44 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3352, allocations: 4 kB / 1.309 GB, free: 40 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3352, allocations: 0 / 1.309 GB, free: 40 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.3352, allocations: 0 / 1.309 GB, free: 40 kB / 0.9981 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.0003857/0.3356, allocations: 258.5 kB / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.3356, allocations: 8.922 kB / 1.309 GB, free: 15.74 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.3358, allocations: 16.92 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.25e-05/0.3358, allocations: 114.4 kB / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.3359, allocations: 4.375 kB / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.3359, allocations: 384 / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.336, allocations: 46.25 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.336, allocations: 4.188 kB / 1.309 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.336, allocations: 7.938 kB / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.336, allocations: 0 / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.853e-05/0.3361, allocations: 15.98 kB / 1.309 GB, free: 15.51 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.3362, allocations: 128.7 kB / 1.31 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.3363, allocations: 50.55 kB / 1.31 GB, free: 15.28 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.625e-05/0.3364, allocations: 16.98 kB / 1.31 GB, free: 15.26 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.3364, allocations: 4 kB / 1.31 GB, free: 15.26 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.3364, allocations: 34.56 kB / 1.31 GB, free: 15.21 MB / 1.014 GB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.3364, allocations: 0 / 1.31 GB, free: 15.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.002083/0.3385, allocations: 428.9 kB / 1.31 GB, free: 14.76 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.3385, allocations: 55.41 kB / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.985e-05/0.3386, allocations: 89.86 kB / 1.31 GB, free: 14.6 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.3386, allocations: 25.7 kB / 1.31 GB, free: 14.57 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.3387, allocations: 80.14 kB / 1.31 GB, free: 14.48 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.501e-05/0.3387, allocations: 31.73 kB / 1.31 GB, free: 14.45 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.3388, allocations: 21.66 kB / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3389, allocations: 318.8 kB / 1.311 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.945e-05/0.3389, allocations: 23.98 kB / 1.311 GB, free: 14.08 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.321e-05/0.339, allocations: 23.98 kB / 1.311 GB, free: 14.06 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.3391, allocations: 60.98 kB / 1.311 GB, free: 14 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3391, allocations: 448 / 1.311 GB, free: 14 MB / 1.014 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001551/0.3392, allocations: 93.62 kB / 1.311 GB, free: 13.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.3393, allocations: 7.938 kB / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3393, allocations: 0 / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3393, allocations: 0 / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.3394, allocations: 19.98 kB / 1.311 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3394, allocations: 4 kB / 1.311 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.816e-05/0.3395, allocations: 4 kB / 1.311 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-06/0.3395, allocations: 0 / 1.311 GB, free: 13.86 MB / 1.014 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 8.345e-05/0.3396, allocations: 117.8 kB / 1.311 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.3396, allocations: 11.83 kB / 1.311 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.846e-05/0.3397, allocations: 15.91 kB / 1.311 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3397, allocations: 0 / 1.311 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3397, allocations: 4 kB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3397, allocations: 4 kB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.3398, allocations: 146.3 kB / 1.311 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3398, allocations: 0 / 1.311 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.3399, allocations: 15.98 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.3399, allocations: 3.938 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.34, allocations: 8 kB / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.34, allocations: 0 / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.34, allocations: 0 / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.3402, allocations: 141 kB / 1.311 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.754e-06/0.3402, allocations: 8 kB / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.3402, allocations: 4.031 kB / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.3404, allocations: 8.078 kB / 1.311 GB, free: 13.31 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.3404, allocations: 3.938 kB / 1.311 GB, free: 13.31 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.3404, allocations: 8 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.681e-05/0.3404, allocations: 75.28 kB / 1.311 GB, free: 13.23 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3404, allocations: 0 / 1.311 GB, free: 13.23 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001911/0.3406, allocations: 8 kB / 1.311 GB, free: 13.22 MB / 1.014 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 0.0001273/0.3407, allocations: 112 kB / 1.312 GB, free: 13.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001712/0.3409, allocations: 59.91 kB / 1.312 GB, free: 13.04 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3409, allocations: 0 / 1.312 GB, free: 13.04 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.49e-05/0.341, allocations: 27.98 kB / 1.312 GB, free: 13.02 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.3412, allocations: 9.016 kB / 1.312 GB, free: 13.01 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005863/0.3418, allocations: 184.7 kB / 1.312 GB, free: 12.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.3421, allocations: 0.6807 MB / 1.312 GB, free: 12.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.272e-05/0.3422, allocations: 11.98 kB / 1.312 GB, free: 12.09 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.3422, allocations: 11.44 kB / 1.312 GB, free: 12.07 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.3422, allocations: 0 / 1.312 GB, free: 12.07 MB / 1.014 GB Notification: Performance of Templates: time 0.003215/0.3454, allocations: 0.7564 MB / 1.313 GB, free: 11.37 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.839871396310627]