Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_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_9_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.001277/0.001277, allocations: 114.3 kB / 16.37 MB, free: 6 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.001279/0.001279, allocations: 195.9 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.413/1.413, 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 9.1.2-maint.9.1.x/package.mo): time 2.2/2.2, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 64.2 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2424, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002116/0.2446, allocations: 1.262 MB / 0.9524 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004748/0.2451, allocations: 233.4 kB / 0.9526 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.694e-05/0.2451, allocations: 0 / 0.9526 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.2451, allocations: 3.938 kB / 0.9526 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.837e-05/0.2452, allocations: 0 / 0.9526 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.2455, allocations: 43.83 kB / 0.9526 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.547e-05/0.2455, allocations: 23.92 kB / 0.9527 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.541e-05/0.2456, allocations: 3.938 kB / 0.9527 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.405e-05/0.2456, allocations: 15.97 kB / 0.9527 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.016e-05/0.2457, allocations: 4 kB / 0.9527 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.2457, allocations: 4 kB / 0.9527 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.984e-05/0.2458, allocations: 43.95 kB / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.2458, allocations: 4 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.299e-05/0.2458, allocations: 11.92 kB / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.2459, allocations: 43.89 kB / 0.9528 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.246, allocations: 0 / 0.9528 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.442e-06/0.246, allocations: 0 / 0.9528 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.246, allocations: 0 / 0.9528 GB, free: 6.34 MB / 0.7325 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.0003616/0.2463, allocations: 339.4 kB / 0.9531 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.2464, allocations: 8.031 kB / 0.9531 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.2465, allocations: 12.92 kB / 0.9531 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.582e-05/0.2466, allocations: 164.4 kB / 0.9533 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.2466, allocations: 8.312 kB / 0.9533 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.2466, allocations: 4.375 kB / 0.9533 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.2468, allocations: 46.23 kB / 0.9533 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2468, allocations: 192 / 0.9533 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.2468, allocations: 7.938 kB / 0.9534 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.2468, allocations: 0 / 0.9534 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.384e-05/0.2468, allocations: 12 kB / 0.9534 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.247, allocations: 153.7 kB / 0.9535 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.322e-05/0.2471, allocations: 50.56 kB / 0.9536 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.645e-05/0.2471, allocations: 16.98 kB / 0.9536 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.2471, allocations: 4 kB / 0.9536 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.2472, allocations: 34.56 kB / 0.9536 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.2472, allocations: 0 / 0.9536 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.00201/0.2492, allocations: 0.5019 MB / 0.9541 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.2492, allocations: 51.41 kB / 0.9542 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.493e-05/0.2493, allocations: 89.86 kB / 0.9542 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.2493, allocations: 25.7 kB / 0.9543 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.743e-05/0.2493, allocations: 88.08 kB / 0.9543 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.2494, allocations: 31.55 kB / 0.9544 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.2494, allocations: 21.72 kB / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.931e-05/0.2495, allocations: 318.8 kB / 0.9547 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.401e-05/0.2496, allocations: 20 kB / 0.9547 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.953e-05/0.2496, allocations: 27.92 kB / 0.9547 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.368e-05/0.2497, allocations: 56.8 kB / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.2497, allocations: 0 / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001393/0.2499, allocations: 93.62 kB / 0.9549 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.2499, allocations: 11.94 kB / 0.9549 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2499, allocations: 4 kB / 0.9549 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.2499, allocations: 0 / 0.9549 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.2501, allocations: 15.98 kB / 0.9549 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.2501, allocations: 448 / 0.9549 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.391e-05/0.2501, allocations: 0 / 0.9549 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.2501, allocations: 4 kB / 0.9549 GB, free: 3.879 MB / 0.7325 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.407e-05/0.2502, allocations: 113.8 kB / 0.955 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.2502, allocations: 11.84 kB / 0.955 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.2503, allocations: 19.97 kB / 0.9551 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2503, allocations: 3.984 kB / 0.9551 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.2503, allocations: 0 / 0.9551 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2503, allocations: 288 / 0.9551 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.2504, allocations: 183.5 kB / 0.9552 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2504, allocations: 0 / 0.9552 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.2506, allocations: 15.94 kB / 0.9553 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2506, allocations: 3.938 kB / 0.9553 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.2506, allocations: 0 / 0.9553 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2506, allocations: 0 / 0.9553 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2506, allocations: 0 / 0.9553 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.2508, allocations: 153.1 kB / 0.9554 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/0.2509, allocations: 89.06 kB / 0.9555 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.2509, allocations: 0 / 0.9555 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.251, allocations: 4 kB / 0.9555 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.052e-05/0.251, allocations: 4 kB / 0.9555 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-06/0.2511, allocations: 3.984 kB / 0.9555 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.574e-05/0.2511, allocations: 83.34 kB / 0.9556 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2511, allocations: 0 / 0.9556 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001922/0.2513, allocations: 12 kB / 0.9556 GB, free: 3.09 MB / 0.7325 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.0001007/0.2514, allocations: 99.25 kB / 0.9557 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001459/0.2516, allocations: 59.92 kB / 0.9557 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.2516, allocations: 7.938 kB / 0.9558 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.86e-05/0.2516, allocations: 27.98 kB / 0.9558 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.2518, allocations: 9.828 kB / 0.9558 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004683/0.2523, allocations: 186.7 kB / 0.956 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.2525, allocations: 0.6845 MB / 0.9566 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.611e-05/0.2526, allocations: 15.92 kB / 0.9567 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.2526, allocations: 11.44 kB / 0.9567 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.2526, allocations: 0 / 0.9567 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of Templates: time 0.002566/0.2552, allocations: 0.6835 MB / 0.9573 GB, free: 1.301 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches