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.0009855/0.0009855, allocations: 101.6 kB / 16.37 MB, free: 6.43 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.001032/0.001032, allocations: 195.8 kB / 17.31 MB, free: 5.781 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.183/1.183, 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.003/2.003, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 66.38 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2386, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002149/0.2407, allocations: 1.256 MB / 0.9524 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003963/0.2411, allocations: 233.4 kB / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.516e-05/0.2412, allocations: 4 kB / 0.9526 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.008e-05/0.2412, allocations: 0 / 0.9526 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.115e-05/0.2412, allocations: 7.922 kB / 0.9526 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.2415, allocations: 47.81 kB / 0.9526 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.357e-05/0.2415, allocations: 11.94 kB / 0.9527 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.361e-05/0.2415, allocations: 7.984 kB / 0.9527 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.661e-05/0.2416, allocations: 12 kB / 0.9527 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.106e-05/0.2416, allocations: 7.969 kB / 0.9527 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.408e-06/0.2416, allocations: 4 kB / 0.9527 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.02e-05/0.2417, allocations: 43.97 kB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.2417, allocations: 7.922 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.2418, allocations: 8 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.271e-05/0.2419, allocations: 43.83 kB / 0.9528 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2419, allocations: 0 / 0.9528 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2419, allocations: 4 kB / 0.9528 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.2419, allocations: 0 / 0.9528 GB, free: 6.348 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.0003294/0.2422, allocations: 343.4 kB / 0.9531 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.836e-05/0.2423, allocations: 8.031 kB / 0.9531 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.2424, allocations: 8.938 kB / 0.9531 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.467e-05/0.2425, allocations: 164.4 kB / 0.9533 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.273e-06/0.2425, allocations: 384 / 0.9533 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.2425, allocations: 4.375 kB / 0.9533 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.04e-05/0.2426, allocations: 46.25 kB / 0.9533 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.2426, allocations: 192 / 0.9533 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.2426, allocations: 7.938 kB / 0.9533 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.2426, allocations: 0 / 0.9533 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.866e-05/0.2427, allocations: 15.94 kB / 0.9534 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001302/0.2428, allocations: 157.7 kB / 0.9535 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.878e-05/0.2429, allocations: 42.62 kB / 0.9536 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.193e-05/0.2429, allocations: 24.97 kB / 0.9536 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.2429, allocations: 0 / 0.9536 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.243, allocations: 42.48 kB / 0.9536 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 7.52e-07/0.243, allocations: 0 / 0.9536 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001806/0.2448, allocations: 0.4902 MB / 0.9541 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.2448, allocations: 55.34 kB / 0.9541 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.482e-05/0.2449, allocations: 93.84 kB / 0.9542 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.2449, allocations: 29.7 kB / 0.9543 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.466e-05/0.2449, allocations: 84.14 kB / 0.9543 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.2449, allocations: 23.55 kB / 0.9544 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.245, allocations: 29.7 kB / 0.9544 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.032e-05/0.2451, allocations: 310.8 kB / 0.9547 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.019e-05/0.2451, allocations: 27.98 kB / 0.9547 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-05/0.2452, allocations: 23.94 kB / 0.9547 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.847e-05/0.2453, allocations: 60.84 kB / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.2453, allocations: 0 / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001249/0.2454, allocations: 89.62 kB / 0.9549 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.2454, allocations: 13.81 kB / 0.9549 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.2454, allocations: 0 / 0.9549 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.2454, allocations: 0 / 0.9549 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.2456, allocations: 16.38 kB / 0.9549 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.2456, allocations: 0 / 0.9549 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.982e-05/0.2457, allocations: 8.281 kB / 0.9549 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.2457, allocations: 4 kB / 0.9549 GB, free: 3.887 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.143e-05/0.2457, allocations: 113.8 kB / 0.955 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.68e-05/0.2458, allocations: 19.78 kB / 0.9551 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.2458, allocations: 11.97 kB / 0.9551 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.2458, allocations: 0 / 0.9551 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.2458, allocations: 0 / 0.9551 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2458, allocations: 0 / 0.9551 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.2459, allocations: 179.5 kB / 0.9552 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2459, allocations: 4 kB / 0.9552 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.2461, allocations: 12 kB / 0.9553 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.2461, allocations: 3.938 kB / 0.9553 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.2461, allocations: 0 / 0.9553 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2461, allocations: 3.984 kB / 0.9553 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.2461, allocations: 0 / 0.9553 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.2463, allocations: 149 kB / 0.9554 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.2464, allocations: 81.05 kB / 0.9555 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.2464, allocations: 4.062 kB / 0.9555 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.2465, allocations: 8.031 kB / 0.9555 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.2465, allocations: 7.984 kB / 0.9555 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.2466, allocations: 0 / 0.9555 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.565e-05/0.2466, allocations: 75.28 kB / 0.9556 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.2466, allocations: 0 / 0.9556 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001767/0.2468, allocations: 12 kB / 0.9556 GB, free: 3.113 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.000118/0.2469, allocations: 107.2 kB / 0.9557 GB, free: 3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001595/0.2471, allocations: 67.84 kB / 0.9557 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2471, allocations: 0 / 0.9557 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.019e-05/0.2471, allocations: 31.94 kB / 0.9558 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.2473, allocations: 10.22 kB / 0.9558 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004999/0.2478, allocations: 178.7 kB / 0.956 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.2481, allocations: 0.6807 MB / 0.9566 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.575e-05/0.2482, allocations: 15.94 kB / 0.9566 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.2482, allocations: 11.44 kB / 0.9566 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.2482, allocations: 0 / 0.9566 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of Templates: time 0.002755/0.251, allocations: 0.7005 MB / 0.9573 GB, free: 1.309 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 cvode -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