Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.00163/0.00163, 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.001984/0.001984, allocations: 192.2 kB / 22.23 MB, free: 5.156 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.45/1.45, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.616/2.616, allocations: 443.5 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 59.91 kB / 1.061 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8117/0.8137, allocations: 160.8 MB / 1.218 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002768/0.8165, allocations: 1.304 MB / 1.22 GB, free: 2.621 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.8177, allocations: 0.6518 MB / 1.22 GB, free: 2.109 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.072e-05/0.8177, allocations: 0 / 1.22 GB, free: 2.109 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.8177, allocations: 5.125 kB / 1.22 GB, free: 2.105 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.04e-05/0.8178, allocations: 3.938 kB / 1.22 GB, free: 2.102 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.8182, allocations: 108.2 kB / 1.221 GB, free: 2.027 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.769e-05/0.8183, allocations: 27.42 kB / 1.221 GB, free: 2.012 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.8184, allocations: 2.281 kB / 1.221 GB, free: 2.012 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.641e-05/0.8184, allocations: 14.05 kB / 1.221 GB, free: 2.004 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.237e-05/0.8185, allocations: 12.02 kB / 1.221 GB, free: 1.996 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.8185, allocations: 1.375 kB / 1.221 GB, free: 1.996 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003108/0.8188, allocations: 143.4 kB / 1.221 GB, free: 1.926 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.8188, allocations: 9.328 kB / 1.221 GB, free: 1.918 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.878e-05/0.8188, allocations: 12.05 kB / 1.221 GB, free: 1.91 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.8191, allocations: 100.2 kB / 1.221 GB, free: 1.863 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.8191, allocations: 0 / 1.221 GB, free: 1.863 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.173e-06/0.8191, allocations: 0.9375 kB / 1.221 GB, free: 1.863 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.8191, allocations: 0 / 1.221 GB, free: 1.863 MB / 0.92 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.0005882/0.8197, allocations: 352.8 kB / 1.221 GB, free: 1.488 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.8197, allocations: 12.53 kB / 1.221 GB, free: 1.484 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004305/0.8201, allocations: 29.78 kB / 1.221 GB, free: 1.473 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.8203, allocations: 169.5 kB / 1.221 GB, free: 1.27 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.8203, allocations: 1.5 kB / 1.221 GB, free: 1.27 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.8203, allocations: 6.609 kB / 1.221 GB, free: 1.266 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.8205, allocations: 52.84 kB / 1.221 GB, free: 1.219 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.8206, allocations: 1.25 kB / 1.221 GB, free: 1.219 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.8206, allocations: 7.938 kB / 1.221 GB, free: 1.211 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.8206, allocations: 1.125 kB / 1.221 GB, free: 1.211 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.8208, allocations: 38.47 kB / 1.221 GB, free: 1.188 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002467/0.821, allocations: 164 kB / 1.222 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000338/0.8213, allocations: 62.58 kB / 1.222 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.681e-05/0.8214, allocations: 31.81 kB / 1.222 GB, free: 0.918 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.8214, allocations: 0 / 1.222 GB, free: 0.918 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.8215, allocations: 35.58 kB / 1.222 GB, free: 0.875 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.8215, allocations: 1.156 kB / 1.222 GB, free: 0.875 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.003645/0.8251, allocations: 0.5811 MB / 1.222 GB, free: 436 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.8252, allocations: 52.91 kB / 1.222 GB, free: 372 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.165e-05/0.8252, allocations: 96.92 kB / 1.222 GB, free: 268 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.8253, allocations: 25.7 kB / 1.222 GB, free: 236 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.8253, allocations: 85.25 kB / 1.223 GB, free: 148 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.8254, allocations: 26.08 kB / 1.223 GB, free: 124 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-05/0.8254, allocations: 28.12 kB / 1.223 GB, free: 96 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.8256, allocations: 311.9 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.8257, allocations: 37.88 kB / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.8259, allocations: 38.67 kB / 1.223 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.8261, allocations: 83.94 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.8261, allocations: 0 / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003557/0.8265, allocations: 121.8 kB / 1.223 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.8265, allocations: 12.47 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.8265, allocations: 1.062 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.8265, allocations: 0 / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.8267, allocations: 23.03 kB / 1.223 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.8268, allocations: 240 / 1.223 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.8269, allocations: 8.141 kB / 1.223 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.8269, allocations: 11.06 kB / 1.223 GB, free: 15.59 MB / 0.9356 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 9.535e-05/0.827, allocations: 115.9 kB / 1.223 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.827, allocations: 9.953 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.198e-05/0.8271, allocations: 9.062 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.8271, allocations: 1.125 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.8271, allocations: 0 / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.8271, allocations: 4.969 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.8273, allocations: 182.5 kB / 1.224 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.8273, allocations: 0 / 1.224 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.8275, allocations: 26.84 kB / 1.224 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.8276, allocations: 3.938 kB / 1.224 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.8276, allocations: 6.422 kB / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.8276, allocations: 3.938 kB / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.8276, allocations: 3.984 kB / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005638/0.8281, allocations: 190.5 kB / 1.224 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.8282, allocations: 86 kB / 1.224 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.8282, allocations: 0.875 kB / 1.224 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.8284, allocations: 20.36 kB / 1.224 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.8284, allocations: 4.953 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.8285, allocations: 2.094 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.444e-05/0.8285, allocations: 81.52 kB / 1.224 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8285, allocations: 3.938 kB / 1.224 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002736/0.8288, allocations: 26.97 kB / 1.224 GB, free: 14.87 MB / 0.9356 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.0002377/0.829, allocations: 140 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003575/0.8294, allocations: 82.95 kB / 1.224 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.8294, allocations: 0.9062 kB / 1.224 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.8295, allocations: 51.05 kB / 1.224 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.8298, allocations: 7.25 kB / 1.224 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006613/0.8304, allocations: 168.1 kB / 1.224 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.8308, allocations: 0.6754 MB / 1.225 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001627/0.8309, allocations: 35.53 kB / 1.225 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.831, allocations: 16.02 kB / 1.225 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/0.831, allocations: 3.938 kB / 1.225 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of Templates: time 0.004662/0.8357, allocations: 1.552 MB / 1.227 GB, free: 13.02 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.759377745911479]