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.001238/0.001238, allocations: 80.94 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.001153/0.001153, allocations: 177 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.9008/0.9008, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.348/2.348, allocations: 438.8 MB / 0.6826 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.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 1.803e-06/1.803e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.431e-05/1.611e-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.WaterVaporPressureDerivativeCheck): time 0.004848/0.004864, allocations: 1.309 MB / 0.8399 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0003983/0.005262, allocations: 235.2 kB / 0.8401 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.723e-05/0.005279, allocations: 0 / 0.8401 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.005296, allocations: 0 / 0.8401 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.785e-05/0.005334, allocations: 3.938 kB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.00558, allocations: 43.81 kB / 0.8402 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.931e-05/0.005629, allocations: 15.94 kB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.554e-05/0.005665, allocations: 7.984 kB / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.654e-05/0.005701, allocations: 7.984 kB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.883e-05/0.00577, allocations: 7.984 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.005781, allocations: 0 / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.531e-05/0.005866, allocations: 47.89 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.00588, allocations: 3.938 kB / 0.8402 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.508e-05/0.005895, allocations: 15.98 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.998e-05/0.005995, allocations: 43.88 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.005996, allocations: 3.938 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.11e-07/0.005997, allocations: 0 / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.735e-06/0.006, allocations: 0 / 0.8403 GB, free: 12.43 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002685/0.006268, allocations: 236.6 kB / 0.8405 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.006301, allocations: 8.625 kB / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.006423, allocations: 16.86 kB / 0.8405 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.435e-05/0.006478, allocations: 105.8 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.006489, allocations: 8.375 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.006507, allocations: 4.375 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.349e-05/0.00659, allocations: 63.95 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.006597, allocations: 192 / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.006605, allocations: 12.3 kB / 0.8407 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.006613, allocations: 4.375 kB / 0.8407 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.363e-05/0.006637, allocations: 11.92 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.607e-05/0.006723, allocations: 65.05 kB / 0.8408 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.996e-05/0.006793, allocations: 38.62 kB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.997e-05/0.006813, allocations: 12.86 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.00682, allocations: 4 kB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.006842, allocations: 38.55 kB / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.006842, allocations: 0 / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.004312/0.01115, allocations: 453 kB / 0.8413 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.01119, allocations: 51.41 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.858e-05/0.01122, allocations: 93.86 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.01123, allocations: 25.7 kB / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.333e-05/0.01125, allocations: 88.14 kB / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.01129, allocations: 23.73 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.01133, allocations: 25.7 kB / 0.8416 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.345e-05/0.0114, allocations: 318.8 kB / 0.8419 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.258e-05/0.01142, allocations: 12 kB / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.158e-05/0.01144, allocations: 15.94 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.205e-05/0.01151, allocations: 44.83 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.01151, allocations: 0 / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.853e-05/0.01159, allocations: 69.62 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.0116, allocations: 8 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.01161, allocations: 3.938 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.01162, allocations: 4 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.346e-05/0.0117, allocations: 12 kB / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.01171, allocations: 8.047 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.112e-05/0.01174, allocations: 3.938 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-06/0.01175, allocations: 0 / 0.8421 GB, free: 10.39 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 (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 5.664e-05/0.0118, allocations: 117.8 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.01181, allocations: 4 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.563e-05/0.01184, allocations: 11.97 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.01184, allocations: 4 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.01184, allocations: 0 / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01185, allocations: 0 / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.013e-05/0.01193, allocations: 81.83 kB / 0.8423 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.01193, allocations: 448 / 0.8423 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.852e-05/0.012, allocations: 15.94 kB / 0.8423 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.012, allocations: 0 / 0.8423 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.012, allocations: 8 kB / 0.8423 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.01201, allocations: 0 / 0.8423 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.01201, allocations: 3.984 kB / 0.8423 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.01216, allocations: 121.3 kB / 0.8425 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-06/0.01216, allocations: 3.953 kB / 0.8425 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.01217, allocations: 4 kB / 0.8425 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.346e-05/0.01222, allocations: 0 / 0.8425 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.01224, allocations: 11.92 kB / 0.8425 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.01224, allocations: 0 / 0.8425 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.635e-06/0.01225, allocations: 4.859 kB / 0.8425 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01225, allocations: 0 / 0.8425 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001564/0.01241, allocations: 16 kB / 0.8425 GB, free: 9.941 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 (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.101e-05/0.01249, allocations: 84.44 kB / 0.8426 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.713e-05/0.01257, allocations: 48.8 kB / 0.8426 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01258, allocations: 0 / 0.8426 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.078e-05/0.01261, allocations: 36.77 kB / 0.8427 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.4e-05/0.01269, allocations: 7.938 kB / 0.8427 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/0.01618, allocations: 172.5 kB / 0.8428 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.036e-05/0.01621, allocations: 59.34 kB / 0.8429 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.887e-05/0.01627, allocations: 15.94 kB / 0.8429 GB, free: 9.465 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.221e-05/0.01634, allocations: 59.36 kB / 0.843 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of SimCode: time 8.12e-07/0.01634, allocations: 0 / 0.843 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of Templates: time 0.002549/0.01889, allocations: 0.7815 MB / 0.8437 GB, free: 8.676 MB / 0.8073 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: 4.9952364303171635]