Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 115.6 kB / 16.37 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 192.1 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.205/1.205, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.2/2.2, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 65.06 kB / 0.8707 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.249, allocations: 151.6 MB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002301/0.2513, allocations: 1.29 MB / 1.02 GB, free: 8.527 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009805/0.2523, allocations: 0.641 MB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.064e-05/0.2524, allocations: 0 / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.2524, allocations: 0 / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.5e-05/0.2525, allocations: 7.922 kB / 1.021 GB, free: 7.875 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.2529, allocations: 107.5 kB / 1.021 GB, free: 7.77 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.645e-05/0.253, allocations: 23.92 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.2531, allocations: 7.984 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.225e-05/0.2531, allocations: 11.98 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.465e-05/0.2531, allocations: 15.92 kB / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.2532, allocations: 4 kB / 1.021 GB, free: 7.707 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002611/0.2534, allocations: 135.7 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.2535, allocations: 11.98 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.2535, allocations: 7.938 kB / 1.021 GB, free: 7.555 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.2537, allocations: 103.8 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2537, allocations: 0 / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2537, allocations: 0 / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.2537, allocations: 0 / 1.021 GB, free: 7.453 MB / 0.795 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.0004273/0.2541, allocations: 363.3 kB / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.2542, allocations: 8.625 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004101/0.2546, allocations: 28.89 kB / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.2547, allocations: 160.4 kB / 1.022 GB, free: 6.816 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.2547, allocations: 8.375 kB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.2548, allocations: 384 / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.255, allocations: 62.16 kB / 1.022 GB, free: 6.742 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.255, allocations: 192 / 1.022 GB, free: 6.742 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.255, allocations: 3.938 kB / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.255, allocations: 0 / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.2552, allocations: 31.97 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002327/0.2554, allocations: 165.6 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.2557, allocations: 66.53 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.192e-05/0.2558, allocations: 28.94 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.2559, allocations: 3.938 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.2559, allocations: 34.56 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.2559, allocations: 0 / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.003435/0.2594, allocations: 0.572 MB / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.2594, allocations: 59.39 kB / 1.023 GB, free: 5.648 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.696e-05/0.2595, allocations: 97.86 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.2595, allocations: 25.7 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.2596, allocations: 80.14 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.2596, allocations: 23.7 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.377e-05/0.2597, allocations: 29.62 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.965e-05/0.2598, allocations: 314.8 kB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.2599, allocations: 40.09 kB / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.26, allocations: 35.97 kB / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.2603, allocations: 80.75 kB / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.2603, allocations: 4 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003131/0.2606, allocations: 117.6 kB / 1.023 GB, free: 4.773 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2606, allocations: 15.88 kB / 1.023 GB, free: 4.758 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2606, allocations: 3.984 kB / 1.023 GB, free: 4.754 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.2607, allocations: 0 / 1.023 GB, free: 4.754 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.2609, allocations: 23.97 kB / 1.023 GB, free: 4.73 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2609, allocations: 4.234 kB / 1.024 GB, free: 4.727 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.261, allocations: 4 kB / 1.024 GB, free: 4.723 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.261, allocations: 7.984 kB / 1.024 GB, free: 4.715 MB / 0.795 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 8.073e-05/0.2611, allocations: 114.4 kB / 1.024 GB, free: 4.594 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.2612, allocations: 3.938 kB / 1.024 GB, free: 4.59 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.184e-05/0.2612, allocations: 15.97 kB / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2612, allocations: 0 / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2612, allocations: 0 / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.2612, allocations: 0 / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.2614, allocations: 195.5 kB / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2614, allocations: 4.062 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.2616, allocations: 23.97 kB / 1.024 GB, free: 4.309 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.2616, allocations: 7.938 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.2617, allocations: 3.984 kB / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2617, allocations: 0 / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.2617, allocations: 3.984 kB / 1.024 GB, free: 4.293 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004751/0.2622, allocations: 200.9 kB / 1.024 GB, free: 4.078 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.773e-05/0.2622, allocations: 81.05 kB / 1.024 GB, free: 3.98 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.2622, allocations: 0 / 1.024 GB, free: 3.98 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.2624, allocations: 16.02 kB / 1.024 GB, free: 3.965 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.2624, allocations: 4 kB / 1.024 GB, free: 3.961 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.2625, allocations: 3.984 kB / 1.024 GB, free: 3.957 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.253e-05/0.2625, allocations: 83.34 kB / 1.024 GB, free: 3.875 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2625, allocations: 3.938 kB / 1.024 GB, free: 3.871 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002341/0.2627, allocations: 31.94 kB / 1.024 GB, free: 3.84 MB / 0.795 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.0002055/0.263, allocations: 123.2 kB / 1.024 GB, free: 3.707 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003138/0.2633, allocations: 88.02 kB / 1.024 GB, free: 3.621 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2633, allocations: 3.938 kB / 1.024 GB, free: 3.617 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.2634, allocations: 43.95 kB / 1.025 GB, free: 3.574 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.2636, allocations: 8 kB / 1.025 GB, free: 3.566 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006199/0.2643, allocations: 162.1 kB / 1.025 GB, free: 3.379 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.2645, allocations: 0.6845 MB / 1.025 GB, free: 2.668 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001484/0.2646, allocations: 31.88 kB / 1.025 GB, free: 2.637 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.965e-05/0.2647, allocations: 15.42 kB / 1.025 GB, free: 2.621 MB / 0.795 GB Notification: Performance of SimCode: time 4.31e-07/0.2647, allocations: 0 / 1.025 GB, free: 2.621 MB / 0.795 GB Notification: Performance of Templates: time 0.003968/0.2687, allocations: 1.513 MB / 1.027 GB, free: 1.156 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches