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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00774/0.00774, allocations: 103.9 kB / 15.73 MB, free: 6.445 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.00171/0.00171, allocations: 191.2 kB / 16.67 MB, free: 6.355 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.883/2.883, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 60.12 kB / 1.054 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3015, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002568/0.3041, allocations: 1.286 MB / 1.209 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.3052, allocations: 0.6431 MB / 1.209 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.732e-05/0.3053, allocations: 0 / 1.209 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.463e-05/0.3054, allocations: 0 / 1.209 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.639e-05/0.3054, allocations: 7.922 kB / 1.209 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.3059, allocations: 107.6 kB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.743e-05/0.306, allocations: 35.78 kB / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.306, allocations: 0 / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.44e-05/0.3061, allocations: 8 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.217e-05/0.3062, allocations: 15.92 kB / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.3062, allocations: 0 / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002859/0.3065, allocations: 147.8 kB / 1.209 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.3065, allocations: 0 / 1.209 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.723e-05/0.3065, allocations: 15.92 kB / 1.21 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.3068, allocations: 92.09 kB / 1.21 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3068, allocations: 8 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3068, allocations: 3.938 kB / 1.21 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3068, allocations: 0 / 1.21 GB, free: 7.742 MB / 0.9669 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.0004807/0.3073, allocations: 359.3 kB / 1.21 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.3073, allocations: 12.03 kB / 1.21 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.067e-05/0.3074, allocations: 30.75 kB / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004254/0.3078, allocations: 28.91 kB / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.3079, allocations: 164.4 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.308, allocations: 4.375 kB / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.308, allocations: 384 / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.3082, allocations: 58.22 kB / 1.21 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.3083, allocations: 3.938 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3083, allocations: 0 / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3083, allocations: 0 / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.3084, allocations: 35.91 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.3086, allocations: 169.5 kB / 1.21 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/0.309, allocations: 66.67 kB / 1.21 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.629e-05/0.3091, allocations: 28.83 kB / 1.211 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.3091, allocations: 0 / 1.211 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.3091, allocations: 34.56 kB / 1.211 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3091, allocations: 0 / 1.211 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.003514/0.3127, allocations: 0.5875 MB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.3127, allocations: 51.41 kB / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.371e-05/0.3128, allocations: 97.84 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.3128, allocations: 29.7 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.993e-05/0.3128, allocations: 80.14 kB / 1.211 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.3129, allocations: 23.84 kB / 1.211 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.313, allocations: 25.69 kB / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.3131, allocations: 310.8 kB / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.3133, allocations: 35.97 kB / 1.212 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.3134, allocations: 39.97 kB / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/0.3137, allocations: 80.81 kB / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3137, allocations: 0 / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003916/0.3141, allocations: 129.5 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3142, allocations: 8 kB / 1.212 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.3142, allocations: 0 / 1.212 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.3142, allocations: 0 / 1.212 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.3144, allocations: 19.97 kB / 1.212 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.3145, allocations: 7.938 kB / 1.212 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.3146, allocations: 7.984 kB / 1.212 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.3146, allocations: 3.984 kB / 1.212 GB, free: 4.965 MB / 0.9669 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 9.963e-05/0.3147, allocations: 117.8 kB / 1.212 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.3148, allocations: 7.844 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.566e-05/0.3148, allocations: 11.97 kB / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3148, allocations: 0 / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3149, allocations: 64 / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.3149, allocations: 8 kB / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.3151, allocations: 183.7 kB / 1.212 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3151, allocations: 0 / 1.212 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.3153, allocations: 35.84 kB / 1.212 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.3153, allocations: 0 / 1.212 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.3153, allocations: 3.984 kB / 1.212 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3154, allocations: 0 / 1.212 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3154, allocations: 3.938 kB / 1.212 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005565/0.3159, allocations: 189 kB / 1.213 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.316, allocations: 88.94 kB / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.316, allocations: 0 / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.3162, allocations: 12.09 kB / 1.213 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.168e-05/0.3162, allocations: 3.984 kB / 1.213 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.3162, allocations: 4 kB / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.068e-05/0.3163, allocations: 87.27 kB / 1.213 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3163, allocations: 0 / 1.213 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002533/0.3166, allocations: 27.94 kB / 1.213 GB, free: 4.098 MB / 0.9669 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.001003/0.3176, allocations: 0.7531 MB / 1.214 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000385/0.318, allocations: 99.86 kB / 1.214 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.318, allocations: 0 / 1.214 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.3182, allocations: 39.97 kB / 1.214 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.3184, allocations: 16.38 kB / 1.214 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.3207, allocations: 1.364 MB / 1.215 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.321, allocations: 0.6729 MB / 1.216 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001733/0.3211, allocations: 32.02 kB / 1.216 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.556e-05/0.3212, allocations: 19.42 kB / 1.216 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of SimCode: time 3.577e-06/0.3212, allocations: 0 / 1.216 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.3423, allocations: 2.516 MB / 1.218 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.681/8.023, allocations: 6.594 kB / 1.218 GB, free: 14.65 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > 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) "Warning: Resultfile and Reference have different end time points! Reffile[501]=1.000000 File[8]=-0.972000 " Variables in the reference:time,y,y_comp Variables in the result:T,TMax,TMin,der(T),der(y),der(y_comp),err,time,y,y_comp