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.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: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006065/0.006064, allocations: 99.64 kB / 15.73 MB, free: 5.547 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.001345/0.001346, allocations: 193.5 kB / 16.67 MB, free: 5.492 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.761/2.761, allocations: 461.9 MB / 0.7348 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.91 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3258, allocations: 157.4 MB / 1.208 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002659/0.3285, allocations: 1.258 MB / 1.209 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005019/0.329, allocations: 235.2 kB / 1.209 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.975e-05/0.3291, allocations: 0 / 1.209 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.68e-05/0.3291, allocations: 0 / 1.209 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.267e-05/0.3291, allocations: 3.938 kB / 1.209 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.3295, allocations: 43.81 kB / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.652e-05/0.3295, allocations: 15.92 kB / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.754e-05/0.3296, allocations: 4 kB / 1.209 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.696e-05/0.3296, allocations: 19.92 kB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.105e-05/0.3297, allocations: 7.984 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.3297, allocations: 0 / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.3299, allocations: 47.97 kB / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.3299, allocations: 3.984 kB / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.3299, allocations: 7.938 kB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.33, allocations: 39.89 kB / 1.209 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.3301, allocations: 4 kB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3301, allocations: 0 / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.3301, allocations: 0 / 1.209 GB, free: 7.973 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004702/0.3305, allocations: 343.5 kB / 1.21 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3306, allocations: 12.62 kB / 1.21 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.3308, allocations: 4.938 kB / 1.21 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.3309, allocations: 164.4 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.3309, allocations: 4.375 kB / 1.21 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.3309, allocations: 384 / 1.21 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.3311, allocations: 50.19 kB / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3311, allocations: 192 / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3311, allocations: 7.938 kB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3311, allocations: 7.984 kB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.941e-05/0.3312, allocations: 15.98 kB / 1.21 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.3313, allocations: 157.6 kB / 1.21 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.127e-05/0.3314, allocations: 38.64 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.832e-05/0.3315, allocations: 24.97 kB / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.3315, allocations: 0 / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.3315, allocations: 38.56 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.3315, allocations: 3.938 kB / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.002024/0.3336, allocations: 0.4941 MB / 1.211 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.3336, allocations: 55.41 kB / 1.211 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.513e-05/0.3337, allocations: 89.86 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.3337, allocations: 25.7 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.604e-05/0.3337, allocations: 80.14 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.3338, allocations: 27.56 kB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.3338, allocations: 29.64 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.3339, allocations: 318.8 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.453e-05/0.334, allocations: 24.42 kB / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.935e-05/0.334, allocations: 20 kB / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.3341, allocations: 60.78 kB / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.3341, allocations: 7.938 kB / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001387/0.3343, allocations: 93.62 kB / 1.212 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3343, allocations: 7.938 kB / 1.212 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3343, allocations: 0 / 1.212 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.3343, allocations: 0 / 1.212 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.3345, allocations: 12 kB / 1.212 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.3345, allocations: 8 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.287e-05/0.3346, allocations: 3.984 kB / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.3346, allocations: 4 kB / 1.212 GB, free: 5.5 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 (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 7.15e-05/0.3347, allocations: 109.8 kB / 1.212 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.3347, allocations: 3.938 kB / 1.212 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.3347, allocations: 15.97 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3347, allocations: 4 kB / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3347, allocations: 0 / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3347, allocations: 0 / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.3349, allocations: 183.4 kB / 1.212 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3349, allocations: 288 / 1.212 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.3351, allocations: 15.94 kB / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.343e-06/0.3351, allocations: 7.922 kB / 1.212 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.3351, allocations: 11.94 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3351, allocations: 0 / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3351, allocations: 0 / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.3353, allocations: 141 kB / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 2.93e-05/0.3354, allocations: 81.11 kB / 1.212 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.3354, allocations: 8.031 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.3355, allocations: 4 kB / 1.212 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.193e-05/0.3355, allocations: 7.984 kB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.3356, allocations: 4 kB / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.644e-05/0.3356, allocations: 75.28 kB / 1.212 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3356, allocations: 3.938 kB / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001845/0.3358, allocations: 8 kB / 1.212 GB, free: 4.73 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 (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.0001179/0.3359, allocations: 111.2 kB / 1.212 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001572/0.3361, allocations: 56.12 kB / 1.212 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3361, allocations: 0 / 1.212 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.138e-05/0.3361, allocations: 43.86 kB / 1.212 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.3364, allocations: 9.234 kB / 1.212 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005153/0.3369, allocations: 174.7 kB / 1.213 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.3371, allocations: 0.6807 MB / 1.213 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.848e-05/0.3372, allocations: 11.94 kB / 1.213 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.3373, allocations: 11.44 kB / 1.213 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.3373, allocations: 0 / 1.213 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of Templates: time 0.002986/0.3403, allocations: 0.7235 MB / 1.214 GB, free: 2.902 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches