Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_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_9_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.00125/0.001249, allocations: 113.5 kB / 16.37 MB, free: 6.012 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.001267/0.001267, allocations: 189 kB / 17.3 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.192/1.192, allocations: 222.9 MB / 241 MB, free: 15.15 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 1.992/1.992, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 61.47 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2347, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002148/0.2369, allocations: 1.29 MB / 0.9524 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009424/0.2378, allocations: 0.6494 MB / 0.953 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.507e-05/0.2379, allocations: 0 / 0.953 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.352e-05/0.2379, allocations: 0 / 0.953 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.016e-05/0.238, allocations: 11.88 kB / 0.953 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.2383, allocations: 103.5 kB / 0.9531 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.529e-05/0.2384, allocations: 27.92 kB / 0.9532 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.397e-05/0.2384, allocations: 4 kB / 0.9532 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.214e-05/0.2385, allocations: 7.984 kB / 0.9532 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.788e-05/0.2385, allocations: 19.92 kB / 0.9532 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.2386, allocations: 0 / 0.9532 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002395/0.2388, allocations: 147.7 kB / 0.9533 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.2388, allocations: 7.969 kB / 0.9533 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.328e-05/0.2388, allocations: 11.94 kB / 0.9534 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.239, allocations: 91.83 kB / 0.9534 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.239, allocations: 0 / 0.9534 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2391, allocations: 0 / 0.9534 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2391, allocations: 0 / 0.9534 GB, free: 5.695 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004275/0.2395, allocations: 368.4 kB / 0.9538 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.2395, allocations: 8.031 kB / 0.9538 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000394/0.2399, allocations: 28.89 kB / 0.9538 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.24, allocations: 164.4 kB / 0.954 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.603e-06/0.24, allocations: 384 / 0.954 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.2401, allocations: 4.375 kB / 0.954 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.2402, allocations: 62.16 kB / 0.9541 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.2403, allocations: 192 / 0.9541 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.2403, allocations: 3.938 kB / 0.9541 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.2403, allocations: 4 kB / 0.9541 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.2404, allocations: 23.97 kB / 0.9541 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.2406, allocations: 177.6 kB / 0.9543 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.2409, allocations: 62.53 kB / 0.9543 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.478e-05/0.2409, allocations: 24.94 kB / 0.9543 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.241, allocations: 3.938 kB / 0.9543 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.241, allocations: 42.5 kB / 0.9544 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.241, allocations: 0 / 0.9544 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.003276/0.2443, allocations: 0.576 MB / 0.9549 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.2443, allocations: 55.41 kB / 0.955 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.826e-05/0.2444, allocations: 97.84 kB / 0.9551 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.2444, allocations: 29.7 kB / 0.9551 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/0.2445, allocations: 80.14 kB / 0.9552 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.2445, allocations: 11.81 kB / 0.9552 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.2446, allocations: 25.69 kB / 0.9552 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.2447, allocations: 318.8 kB / 0.9555 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.2448, allocations: 36.09 kB / 0.9556 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.2449, allocations: 44.03 kB / 0.9556 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.2452, allocations: 92.73 kB / 0.9557 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.2452, allocations: 0 / 0.9557 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003098/0.2455, allocations: 121.5 kB / 0.9558 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.2456, allocations: 7.938 kB / 0.9558 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2456, allocations: 0 / 0.9558 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.2456, allocations: 3.984 kB / 0.9558 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.2458, allocations: 31.91 kB / 0.9559 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2458, allocations: 0 / 0.9559 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.246, allocations: 4 kB / 0.9559 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.246, allocations: 7.984 kB / 0.9559 GB, free: 2.941 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 (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.198e-05/0.2461, allocations: 115.8 kB / 0.956 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.2461, allocations: 7.938 kB / 0.956 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.06e-05/0.2462, allocations: 11.97 kB / 0.956 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2462, allocations: 0 / 0.956 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2462, allocations: 3.938 kB / 0.956 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2462, allocations: 0 / 0.956 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.2464, allocations: 179.7 kB / 0.9562 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2464, allocations: 0 / 0.9562 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.2466, allocations: 27.97 kB / 0.9562 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2466, allocations: 3.938 kB / 0.9562 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.2466, allocations: 7.984 kB / 0.9562 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.2466, allocations: 4 kB / 0.9562 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2466, allocations: 0 / 0.9562 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000483/0.2471, allocations: 196.9 kB / 0.9564 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.2472, allocations: 81.05 kB / 0.9565 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.2472, allocations: 0 / 0.9565 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.2474, allocations: 12.02 kB / 0.9565 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.2474, allocations: 4 kB / 0.9565 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.2474, allocations: 3.984 kB / 0.9565 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.195e-05/0.2475, allocations: 87.34 kB / 0.9566 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2475, allocations: 0 / 0.9566 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002272/0.2477, allocations: 31.94 kB / 0.9566 GB, free: 2.082 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 (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.000195/0.2479, allocations: 123.3 kB / 0.9567 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003166/0.2482, allocations: 96.02 kB / 0.9568 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2482, allocations: 3.938 kB / 0.9568 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.2484, allocations: 47.95 kB / 0.9569 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.2486, allocations: 5.719 kB / 0.9569 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006152/0.2492, allocations: 166 kB / 0.957 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.2495, allocations: 0.6845 MB / 0.9577 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001439/0.2496, allocations: 27.94 kB / 0.9577 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.948e-05/0.2497, allocations: 15.42 kB / 0.9577 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of SimCode: time 2e-07/0.2497, allocations: 0 / 0.9577 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of Templates: time 0.00383/0.2535, allocations: 1.51 MB / 0.9592 GB, free: 15.4 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches