Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001516/0.001516, allocations: 105.4 kB / 16.37 MB, free: 6.457 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.001711/0.00171, allocations: 191.8 kB / 17.31 MB, free: 5.812 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.54/2.54, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 60.06 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3152, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002449/0.3177, allocations: 1.286 MB / 1.028 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.3187, allocations: 0.6457 MB / 1.029 GB, free: 116 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.176e-05/0.3188, allocations: 4 kB / 1.029 GB, free: 112 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.775e-05/0.3188, allocations: 3.938 kB / 1.029 GB, free: 108 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.002e-05/0.3189, allocations: 4 kB / 1.029 GB, free: 104 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004629/0.3193, allocations: 107.6 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.73e-05/0.3194, allocations: 27.92 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.75e-05/0.3195, allocations: 0 / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.646e-05/0.3195, allocations: 11.92 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.495e-05/0.3196, allocations: 12 kB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.3196, allocations: 4 kB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002649/0.3199, allocations: 143.7 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.3199, allocations: 7.984 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.385e-05/0.3199, allocations: 11.92 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.3201, allocations: 103.6 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3202, allocations: 0 / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3202, allocations: 0 / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.3202, allocations: 0 / 1.029 GB, free: 15.68 MB / 0.8106 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.0005544/0.3207, allocations: 355.5 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.3208, allocations: 8.031 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004346/0.3212, allocations: 24.91 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.3214, allocations: 168.4 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.3214, allocations: 8.359 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.3214, allocations: 8.219 kB / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.3216, allocations: 58.22 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.3216, allocations: 192 / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.3216, allocations: 3.938 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.3217, allocations: 4 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.3218, allocations: 27.97 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002393/0.322, allocations: 161.6 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.3223, allocations: 74.45 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.774e-05/0.3224, allocations: 28.94 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.3225, allocations: 0 / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.3225, allocations: 30.56 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.3225, allocations: 4 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.003416/0.3259, allocations: 0.5759 MB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.326, allocations: 51.41 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.995e-05/0.326, allocations: 109.8 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.326, allocations: 25.7 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.516e-05/0.3261, allocations: 80.14 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.3261, allocations: 19.72 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.3262, allocations: 25.69 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.369e-05/0.3263, allocations: 314.8 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.3264, allocations: 40.09 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.3265, allocations: 43.84 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.3268, allocations: 80.81 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3268, allocations: 0 / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003192/0.3271, allocations: 125.6 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3271, allocations: 7.938 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3272, allocations: 0 / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.3272, allocations: 0 / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.3274, allocations: 23.97 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3274, allocations: 3.938 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.3276, allocations: 11.98 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.3276, allocations: 11.98 kB / 1.031 GB, free: 12.93 MB / 0.8106 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.155e-05/0.3277, allocations: 109.8 kB / 1.032 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.3277, allocations: 7.938 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.331e-05/0.3278, allocations: 11.97 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3278, allocations: 0 / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.3278, allocations: 336 / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3278, allocations: 0 / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.328, allocations: 183.7 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.328, allocations: 0 / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.3282, allocations: 23.97 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3282, allocations: 7.922 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.3283, allocations: 3.984 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3283, allocations: 8 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3283, allocations: 0 / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005113/0.3288, allocations: 192.9 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.455e-05/0.3288, allocations: 85.03 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.3289, allocations: 0 / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.3291, allocations: 16.09 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.367e-05/0.3291, allocations: 11.98 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.3291, allocations: 0 / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.259e-05/0.3292, allocations: 83.27 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3292, allocations: 160 / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000233/0.3294, allocations: 35.94 kB / 1.032 GB, free: 12.07 MB / 0.8106 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.0001892/0.3296, allocations: 127.2 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003121/0.3299, allocations: 87.86 kB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3299, allocations: 8 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.3301, allocations: 43.95 kB / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.3303, allocations: 12.75 kB / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006179/0.3309, allocations: 163.9 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.3312, allocations: 0.6807 MB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001509/0.3314, allocations: 27.94 kB / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.3315, allocations: 15.42 kB / 1.033 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of SimCode: time 1.664e-06/0.3315, allocations: 0 / 1.033 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of Templates: time 0.004002/0.3355, allocations: 1.507 MB / 1.035 GB, free: 9.395 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches