Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001338/0.001338, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.00166/0.00166, allocations: 181 kB / 23.36 MB, free: 1.133 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.957/0.957, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.354/2.354, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.235e-05/1.347e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001728/0.001742, allocations: 1.343 MB / 0.8399 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0006915/0.002433, allocations: 0.6501 MB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.63e-05/0.00245, allocations: 0 / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.465e-05/0.002464, allocations: 7.938 kB / 0.8406 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.911e-05/0.002503, allocations: 7.922 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.00284, allocations: 103.4 kB / 0.8407 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.517e-05/0.002885, allocations: 27.91 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.792e-05/0.002913, allocations: 3.938 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 2.957e-05/0.002943, allocations: 15.98 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.279e-05/0.002995, allocations: 15.98 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.003006, allocations: 3.984 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.003175, allocations: 139.7 kB / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.003186, allocations: 0 / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.444e-05/0.003201, allocations: 11.98 kB / 0.8409 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.003341, allocations: 115.7 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003343, allocations: 0 / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003343, allocations: 0 / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.414e-06/0.003346, allocations: 3.938 kB / 0.841 GB, free: 11.73 MB / 0.8073 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.0002765/0.003622, allocations: 248.4 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.003656, allocations: 12.62 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002151/0.003871, allocations: 44.81 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.541e-05/0.003936, allocations: 101.8 kB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.003946, allocations: 4.375 kB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.003963, allocations: 384 / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.004066, allocations: 92.62 kB / 0.8415 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.004072, allocations: 4.188 kB / 0.8415 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-06/0.004079, allocations: 384 / 0.8415 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.004084, allocations: 4.359 kB / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.862e-05/0.004113, allocations: 19.86 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.345e-05/0.004196, allocations: 68.98 kB / 0.8416 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.004317, allocations: 38.61 kB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.009e-05/0.004337, allocations: 20.94 kB / 0.8416 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.004348, allocations: 4 kB / 0.8416 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.004367, allocations: 34.56 kB / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.004368, allocations: 0 / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.001564/0.005932, allocations: 480.6 kB / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.005955, allocations: 51.41 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.237e-05/0.005997, allocations: 102.7 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.006012, allocations: 25.7 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.737e-05/0.00603, allocations: 80.14 kB / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.006056, allocations: 23.84 kB / 0.8424 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.006092, allocations: 29.81 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.278e-05/0.006155, allocations: 322.8 kB / 0.8427 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.488e-05/0.00618, allocations: 12 kB / 0.8427 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.505e-05/0.006205, allocations: 19.98 kB / 0.8427 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.152e-05/0.006267, allocations: 52.81 kB / 0.8428 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.006267, allocations: 3.938 kB / 0.8428 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.888e-05/0.006356, allocations: 81.66 kB / 0.8429 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/0.006365, allocations: 8 kB / 0.8429 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.006369, allocations: 4 kB / 0.8429 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.006378, allocations: 0 / 0.8429 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.587e-05/0.006464, allocations: 15.98 kB / 0.8429 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.006468, allocations: 3.984 kB / 0.8429 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.434e-05/0.006513, allocations: 7.938 kB / 0.8429 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.006523, allocations: 8 kB / 0.8429 GB, free: 9.547 MB / 0.8073 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 5.423e-05/0.006577, allocations: 109.8 kB / 0.843 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.006591, allocations: 4 kB / 0.843 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.006622, allocations: 12.12 kB / 0.843 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.006624, allocations: 0 / 0.843 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.006625, allocations: 4 kB / 0.8431 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.006627, allocations: 0 / 0.8431 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.245e-05/0.006699, allocations: 85.77 kB / 0.8431 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.0067, allocations: 4 kB / 0.8431 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.695e-05/0.006777, allocations: 19.97 kB / 0.8432 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.006778, allocations: 0 / 0.8432 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.006789, allocations: 3.984 kB / 0.8432 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.006791, allocations: 4 kB / 0.8432 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.006792, allocations: 0 / 0.8432 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.00694, allocations: 129 kB / 0.8433 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-06/0.006946, allocations: 4.281 kB / 0.8433 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.006959, allocations: 8.031 kB / 0.8433 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.526e-05/0.007014, allocations: 4 kB / 0.8433 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.688e-06/0.007023, allocations: 3.984 kB / 0.8433 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.007034, allocations: 15.91 kB / 0.8433 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.863e-06/0.007041, allocations: 4.859 kB / 0.8433 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007041, allocations: 0 / 0.8433 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001365/0.007178, allocations: 35.88 kB / 0.8434 GB, free: 9.059 MB / 0.8073 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.0001184/0.007296, allocations: 108.4 kB / 0.8435 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.46e-05/0.007391, allocations: 64.8 kB / 0.8435 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.007393, allocations: 0 / 0.8435 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.551e-05/0.007428, allocations: 40.78 kB / 0.8436 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.161e-05/0.00751, allocations: 15.92 kB / 0.8436 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003925/0.007902, allocations: 152.7 kB / 0.8437 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.542e-05/0.007928, allocations: 59.34 kB / 0.8438 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 9.394e-05/0.008022, allocations: 31.88 kB / 0.8438 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.871e-05/0.00811, allocations: 71.33 kB / 0.8439 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of SimCode: time 4.41e-07/0.008111, allocations: 0 / 0.8439 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of Templates: time 0.002993/0.0111, allocations: 1.817 MB / 0.8457 GB, free: 6.699 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.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.121270739007741]