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.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.0009808/0.0009808, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009714/0.0009714, allocations: 169 kB / 24.28 MB, free: 284 kB / 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 1.043/1.043, allocations: 177.1 MB / 204.6 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.869/1.869, allocations: 377.8 MB / 0.6239 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_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 1.232e-06/1.232e-06, allocations: 0 / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.548e-05/1.671e-05, allocations: 3.25 kB / 0.8116 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.00173/0.001747, allocations: 1.315 MB / 0.8128 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003522/0.002099, allocations: 232 kB / 0.8131 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.884e-05/0.002118, allocations: 0.7812 kB / 0.8131 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.8e-05/0.002136, allocations: 0 / 0.8131 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.63e-05/0.002172, allocations: 1.688 kB / 0.8131 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.002426, allocations: 47.69 kB / 0.8131 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.562e-05/0.002481, allocations: 23.92 kB / 0.8131 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.706e-05/0.002518, allocations: 1.531 kB / 0.8131 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.334e-05/0.002552, allocations: 11.98 kB / 0.8131 GB, free: 444 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.749e-05/0.002619, allocations: 7.984 kB / 0.8131 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.002634, allocations: 4 kB / 0.8132 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.234e-05/0.002707, allocations: 41.33 kB / 0.8132 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.00272, allocations: 4 kB / 0.8132 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.858e-05/0.002739, allocations: 11.92 kB / 0.8132 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.002842, allocations: 43.88 kB / 0.8132 GB, free: 332 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.002844, allocations: 5.75 kB / 0.8133 GB, free: 328 kB / 0.7605 GB Notification: Performance of FrontEnd: time 4.3e-07/0.002845, allocations: 0 / 0.8133 GB, free: 328 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.002848, allocations: 0 / 0.8133 GB, free: 328 kB / 0.7605 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.0003193/0.003167, allocations: 361.2 kB / 0.8136 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.003208, allocations: 8.031 kB / 0.8136 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.003344, allocations: 13.83 kB / 0.8136 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.03e-05/0.003404, allocations: 113.3 kB / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.003416, allocations: 384 / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.003438, allocations: 17.48 kB / 0.8137 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.003543, allocations: 63.95 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.003549, allocations: 192 / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.003559, allocations: 4.375 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.003566, allocations: 2.938 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.305e-05/0.003599, allocations: 15.92 kB / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001128/0.003712, allocations: 112.6 kB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.312e-05/0.003795, allocations: 55.09 kB / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.912e-05/0.003824, allocations: 27.73 kB / 0.814 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.003831, allocations: 0.5312 kB / 0.814 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.003852, allocations: 37.38 kB / 0.8141 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.003853, allocations: 0.7188 kB / 0.8141 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.001085/0.004937, allocations: 428.4 kB / 0.8145 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.004967, allocations: 56.56 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.529e-05/0.005002, allocations: 142.2 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.005015, allocations: 33.64 kB / 0.8147 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.749e-05/0.005042, allocations: 127.7 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.005073, allocations: 27.8 kB / 0.8148 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.005107, allocations: 23.38 kB / 0.8149 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.005219, allocations: 498.3 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.197e-05/0.005251, allocations: 23.92 kB / 0.8153 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.976e-05/0.005281, allocations: 27.92 kB / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.667e-05/0.005358, allocations: 51.69 kB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.005358, allocations: 4 kB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.875e-05/0.005457, allocations: 96.58 kB / 0.8155 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.005469, allocations: 4 kB / 0.8155 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.005473, allocations: 0 / 0.8155 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.005485, allocations: 0 / 0.8155 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.563e-05/0.00557, allocations: 16.42 kB / 0.8155 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.005576, allocations: 3.938 kB / 0.8155 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.933e-05/0.005606, allocations: 8 kB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.005612, allocations: 4 kB / 0.8156 GB, free: 13.74 MB / 0.7761 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.43e-05/0.005676, allocations: 161.9 kB / 0.8157 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.005688, allocations: 8 kB / 0.8157 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.005715, allocations: 11.97 kB / 0.8157 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.005716, allocations: 0.625 kB / 0.8157 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.005721, allocations: 3.938 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.005725, allocations: 4.484 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.957e-05/0.005805, allocations: 127.2 kB / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.005806, allocations: 0 / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.617e-05/0.005872, allocations: 17.8 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.005873, allocations: 0 / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.005882, allocations: 4 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.005885, allocations: 4 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.005886, allocations: 80 / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.006058, allocations: 153.5 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-06/0.006063, allocations: 3.953 kB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.006075, allocations: 0 / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.517e-05/0.00612, allocations: 9.094 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.984e-05/0.00614, allocations: 11.92 kB / 0.8161 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.006146, allocations: 3.938 kB / 0.8161 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.809e-05/0.006174, allocations: 123.9 kB / 0.8162 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.006174, allocations: 0.7188 kB / 0.8162 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001249/0.006299, allocations: 12 kB / 0.8162 GB, free: 13.04 MB / 0.7761 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 7.522e-05/0.006374, allocations: 107.2 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.006487, allocations: 63.59 kB / 0.8164 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.006489, allocations: 0 / 0.8164 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.557e-05/0.006524, allocations: 39.67 kB / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.006674, allocations: 11.94 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000563/0.007237, allocations: 185.6 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.238e-05/0.00727, allocations: 59.3 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.269e-05/0.007322, allocations: 14.95 kB / 0.8166 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.00736, allocations: 12.5 kB / 0.8167 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of SimCode: time 8.02e-07/0.007361, allocations: 0.5938 kB / 0.8167 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.002353/0.009714, allocations: 0.7171 MB / 0.8174 GB, free: 11.83 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) [Timeout 240] 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","",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.036627314053476]