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.0009849/0.0009849, allocations: 73.97 kB / 20.66 MB, free: 3.84 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.00105/0.00105, allocations: 173 kB / 24.06 MB, free: 448 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 0.9699/0.9699, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.1/2.1, allocations: 429.5 MB / 0.6743 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.944e-06/1.944e-06, allocations: 0 / 0.8794 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.671e-05, allocations: 3.125 kB / 0.8794 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002784/0.00281, allocations: 1.306 MB / 0.8807 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0005496/0.00336, allocations: 236.3 kB / 0.8809 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.504e-05/0.003385, allocations: 0.5625 kB / 0.8809 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.309e-05/0.003408, allocations: 4 kB / 0.8809 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.678e-05/0.003455, allocations: 5.469 kB / 0.8809 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.003775, allocations: 37.36 kB / 0.881 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.738e-05/0.003843, allocations: 25 kB / 0.881 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.616e-05/0.003889, allocations: 0 / 0.881 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.475e-05/0.003934, allocations: 11.98 kB / 0.881 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.004075, allocations: 13.05 kB / 0.881 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.004098, allocations: 0 / 0.881 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.004243, allocations: 43.91 kB / 0.8811 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.152e-05/0.004265, allocations: 8.75 kB / 0.8811 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.214e-05/0.004287, allocations: 8 kB / 0.8811 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.004426, allocations: 46.75 kB / 0.8811 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.004429, allocations: 1.656 kB / 0.8811 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.032e-06/0.00443, allocations: 0 / 0.8811 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.004437, allocations: 0 / 0.8811 GB, free: 4.273 MB / 0.8386 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.0003572/0.004794, allocations: 365.8 kB / 0.8815 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.004834, allocations: 8.031 kB / 0.8815 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.004981, allocations: 16.86 kB / 0.8815 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.32e-05/0.005054, allocations: 109.7 kB / 0.8816 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.005068, allocations: 4.375 kB / 0.8816 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.005087, allocations: 4.375 kB / 0.8816 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.005195, allocations: 68.55 kB / 0.8817 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.005203, allocations: 0.9062 kB / 0.8817 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.005211, allocations: 4.375 kB / 0.8817 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.005217, allocations: 1.75 kB / 0.8817 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.087e-05/0.005247, allocations: 15.92 kB / 0.8817 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001272/0.005375, allocations: 101.3 kB / 0.8818 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.005476, allocations: 52 kB / 0.8818 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.863e-05/0.005505, allocations: 23.86 kB / 0.8819 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.005513, allocations: 1.062 kB / 0.8819 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.005543, allocations: 41.38 kB / 0.8819 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 9.31e-07/0.005544, allocations: 0 / 0.8819 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.001417/0.006961, allocations: 409.8 kB / 0.8823 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.006992, allocations: 51.41 kB / 0.8823 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.839e-05/0.007041, allocations: 146.2 kB / 0.8825 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.007061, allocations: 37.64 kB / 0.8825 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.007102, allocations: 130.9 kB / 0.8826 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.007145, allocations: 32.59 kB / 0.8827 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.00719, allocations: 23.38 kB / 0.8827 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.00733, allocations: 0.489 MB / 0.8832 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.92e-05/0.007359, allocations: 16 kB / 0.8832 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.954e-05/0.007388, allocations: 19.98 kB / 0.8832 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.61e-05/0.007465, allocations: 43.69 kB / 0.8832 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.007465, allocations: 0 / 0.8832 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001256/0.007591, allocations: 81.62 kB / 0.8833 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.007606, allocations: 8 kB / 0.8833 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.007612, allocations: 0 / 0.8833 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.007621, allocations: 0 / 0.8833 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.007722, allocations: 15.98 kB / 0.8833 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.007725, allocations: 3.938 kB / 0.8833 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.248e-05/0.007768, allocations: 3.938 kB / 0.8834 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.007777, allocations: 8 kB / 0.8834 GB, free: 1.758 MB / 0.8386 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.125e-05/0.007859, allocations: 156.6 kB / 0.8835 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/0.007876, allocations: 4 kB / 0.8835 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.00791, allocations: 15.97 kB / 0.8835 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.007912, allocations: 0 / 0.8835 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.007915, allocations: 3.938 kB / 0.8835 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.007921, allocations: 11.92 kB / 0.8835 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.008036, allocations: 111.2 kB / 0.8836 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.008037, allocations: 0 / 0.8836 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.169e-05/0.008129, allocations: 12 kB / 0.8837 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.008134, allocations: 7.984 kB / 0.8837 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.008143, allocations: 4 kB / 0.8837 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.008145, allocations: 448 / 0.8837 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.008146, allocations: 0 / 0.8837 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.008347, allocations: 144.5 kB / 0.8838 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-06/0.008353, allocations: 4 kB / 0.8838 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.008368, allocations: 4 kB / 0.8838 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.968e-05/0.008428, allocations: 4 kB / 0.8838 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.086e-05/0.008449, allocations: 3.984 kB / 0.8838 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.008459, allocations: 4 kB / 0.8838 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.427e-05/0.008493, allocations: 123.2 kB / 0.8839 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.008493, allocations: 4.031 kB / 0.884 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002127/0.008706, allocations: 8 kB / 0.884 GB, free: 1.086 MB / 0.8386 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.0001135/0.008819, allocations: 101.4 kB / 0.8841 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.008951, allocations: 67.47 kB / 0.8841 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.008953, allocations: 0 / 0.8841 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.483e-05/0.008998, allocations: 39.59 kB / 0.8842 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.009183, allocations: 8 kB / 0.8842 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005711/0.009754, allocations: 166.3 kB / 0.8843 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.801e-05/0.009792, allocations: 63.36 kB / 0.8844 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.134e-05/0.009863, allocations: 8 kB / 0.8844 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.048e-05/0.009953, allocations: 78.19 kB / 0.8845 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of SimCode: time 9.92e-07/0.009954, allocations: 0 / 0.8845 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of Templates: time 0.002862/0.01282, allocations: 0.793 MB / 0.8852 GB, free: 15.76 MB / 0.8542 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: 5.359386084135622]