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.001039/0.001039, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001028/0.001028, allocations: 169 kB / 23.02 MB, free: 1.555 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.9606/0.9606, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.058/2.058, allocations: 429.5 MB / 0.6732 GB, free: 4.02 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.824e-06/1.824e-06, allocations: 0 / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.801e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001731/0.001749, allocations: 1.318 MB / 0.8795 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0005363/0.002285, allocations: 227.8 kB / 0.8797 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.239e-05/0.002308, allocations: 0.875 kB / 0.8797 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.759e-05/0.002335, allocations: 3.938 kB / 0.8797 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.218e-05/0.002388, allocations: 1.641 kB / 0.8797 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.002699, allocations: 42.38 kB / 0.8797 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.396e-05/0.002773, allocations: 15.92 kB / 0.8798 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.769e-05/0.002821, allocations: 7.984 kB / 0.8798 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.608e-05/0.002867, allocations: 13.52 kB / 0.8798 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.713e-05/0.002954, allocations: 7.984 kB / 0.8798 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.002972, allocations: 4 kB / 0.8798 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.082e-05/0.003063, allocations: 43.91 kB / 0.8798 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.003081, allocations: 12.88 kB / 0.8798 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.003101, allocations: 4 kB / 0.8798 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.003243, allocations: 47.81 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.003245, allocations: 4.75 kB / 0.8799 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.42e-07/0.003246, allocations: 0 / 0.8799 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.003252, allocations: 0.5625 kB / 0.8799 GB, free: 4.566 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.0003992/0.003651, allocations: 364 kB / 0.8802 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.0037, allocations: 8.031 kB / 0.8803 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.003861, allocations: 16.86 kB / 0.8803 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.929e-05/0.003931, allocations: 108.6 kB / 0.8804 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.003945, allocations: 4.375 kB / 0.8804 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.003971, allocations: 4.375 kB / 0.8804 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.004081, allocations: 71.94 kB / 0.8805 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.004087, allocations: 0.75 kB / 0.8805 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.004097, allocations: 384 / 0.8805 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.004104, allocations: 4.375 kB / 0.8805 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.661e-05/0.00414, allocations: 23.86 kB / 0.8805 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.00426, allocations: 120.6 kB / 0.8806 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.592e-05/0.004345, allocations: 51.05 kB / 0.8806 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.92e-05/0.004375, allocations: 19.67 kB / 0.8807 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.255e-06/0.004383, allocations: 0 / 0.8807 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.004407, allocations: 37.52 kB / 0.8807 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.004407, allocations: 0 / 0.8807 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.001104/0.005512, allocations: 433.4 kB / 0.8811 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.005536, allocations: 55.34 kB / 0.8812 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.612e-05/0.005573, allocations: 146.2 kB / 0.8813 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.005584, allocations: 29.7 kB / 0.8813 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.341e-05/0.005618, allocations: 134.9 kB / 0.8815 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.005648, allocations: 27.75 kB / 0.8815 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.005682, allocations: 27.38 kB / 0.8815 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.981e-05/0.005781, allocations: 496.1 kB / 0.882 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.997e-05/0.005811, allocations: 20 kB / 0.882 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.536e-05/0.005837, allocations: 19.98 kB / 0.882 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.142e-05/0.005908, allocations: 59.61 kB / 0.8821 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.005909, allocations: 4 kB / 0.8821 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.615e-05/0.006005, allocations: 89.86 kB / 0.8822 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.006017, allocations: 7.938 kB / 0.8822 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.006022, allocations: 0 / 0.8822 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.006035, allocations: 0 / 0.8822 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.738e-05/0.006122, allocations: 20 kB / 0.8822 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.006128, allocations: 3.938 kB / 0.8822 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.837e-05/0.006157, allocations: 4 kB / 0.8822 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.006162, allocations: 0 / 0.8822 GB, free: 1.969 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 6.07e-05/0.006223, allocations: 164.6 kB / 0.8824 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.006438, allocations: 4 kB / 0.8824 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.006462, allocations: 11.97 kB / 0.8824 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.006463, allocations: 0 / 0.8824 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.00647, allocations: 3.938 kB / 0.8824 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.006473, allocations: 0 / 0.8824 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.818e-05/0.006561, allocations: 130.6 kB / 0.8825 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.006562, allocations: 3.938 kB / 0.8825 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-05/0.006635, allocations: 23.92 kB / 0.8825 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.006638, allocations: 0 / 0.8825 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.006647, allocations: 448 / 0.8825 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.006647, allocations: 0 / 0.8825 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.006649, allocations: 8 kB / 0.8825 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.00683, allocations: 156.3 kB / 0.8827 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-06/0.006834, allocations: 0 / 0.8827 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.006847, allocations: 4 kB / 0.8827 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.516e-05/0.006892, allocations: 12.02 kB / 0.8827 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.006912, allocations: 4 kB / 0.8827 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.006918, allocations: 3.938 kB / 0.8827 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.006e-05/0.006948, allocations: 119.2 kB / 0.8828 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006948, allocations: 3.938 kB / 0.8828 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001319/0.00708, allocations: 16 kB / 0.8828 GB, free: 1.246 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 8.4e-05/0.007164, allocations: 99.23 kB / 0.8829 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.007288, allocations: 63.67 kB / 0.883 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.007289, allocations: 0 / 0.883 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.675e-05/0.007326, allocations: 47.61 kB / 0.883 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.007473, allocations: 3.984 kB / 0.883 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000562/0.008035, allocations: 174.3 kB / 0.8832 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.403e-05/0.008069, allocations: 67.28 kB / 0.8833 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.365e-05/0.008113, allocations: 8 kB / 0.8833 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.008147, allocations: 12.5 kB / 0.8833 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of SimCode: time 8.62e-07/0.008148, allocations: 0 / 0.8833 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of Templates: time 0.002246/0.01039, allocations: 0.7276 MB / 0.884 GB, free: 40 kB / 0.8386 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.19514805264771]