Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",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.001126/0.001126, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.271/1.271, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.604/2.604, allocations: 461.9 MB / 0.7347 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 69.7 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2366, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002559/0.2392, allocations: 1.413 MB / 1.054 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000886/0.2401, allocations: 0.592 MB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.594e-05/0.2402, allocations: 0 / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.2402, allocations: 3.984 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.137e-05/0.2403, allocations: 3.938 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.2407, allocations: 103.5 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.122e-05/0.2407, allocations: 27.88 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.644e-05/0.2408, allocations: 8 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.934e-05/0.2409, allocations: 11.98 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.289e-05/0.2409, allocations: 15.86 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.2409, allocations: 4 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002633/0.2412, allocations: 135.8 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.2412, allocations: 7.984 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.2413, allocations: 11.94 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.2415, allocations: 100 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2415, allocations: 0 / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2415, allocations: 0 / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2415, allocations: 4 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004244/0.2419, allocations: 355.5 kB / 1.056 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.242, allocations: 8.031 kB / 1.056 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.984e-05/0.242, allocations: 34.75 kB / 1.056 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004159/0.2424, allocations: 28.81 kB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.2426, allocations: 176.3 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.2426, allocations: 4.375 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.2426, allocations: 4.375 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.2428, allocations: 66.2 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.2428, allocations: 3.938 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.2428, allocations: 0 / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2429, allocations: 4 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002523/0.2431, allocations: 51.94 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.2435, allocations: 276.7 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.2437, allocations: 70.41 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.2439, allocations: 28.89 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.2439, allocations: 4 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.2439, allocations: 34.56 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 2.295e-06/0.2439, allocations: 3.984 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004773/0.2444, allocations: 113.5 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.2444, allocations: 51.41 kB / 1.057 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.987e-05/0.2445, allocations: 105.8 kB / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.2445, allocations: 29.7 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.268e-05/0.2446, allocations: 88.17 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.2446, allocations: 0 / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.2446, allocations: 21.7 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.449e-05/0.2447, allocations: 310.8 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.2449, allocations: 23.97 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.245, allocations: 31.97 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.2452, allocations: 52.81 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2452, allocations: 7.875 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003073/0.2455, allocations: 101.5 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.2456, allocations: 4 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2456, allocations: 0 / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.2456, allocations: 4 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.2457, allocations: 11.98 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.2457, allocations: 0 / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.825e-05/0.2458, allocations: 7.984 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.2458, allocations: 0 / 1.057 GB, free: 3.5 MB / 0.8106 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 (2): * Single equations (assignments): 2 * 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.558e-05/0.2459, allocations: 121.8 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.2459, allocations: 0 / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.536e-05/0.246, allocations: 7.125 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.246, allocations: 0 / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.246, allocations: 4 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.246, allocations: 0 / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.2462, allocations: 161.6 kB / 1.058 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.2462, allocations: 4 kB / 1.058 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.2463, allocations: 15.97 kB / 1.058 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2463, allocations: 0 / 1.058 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.2463, allocations: 8 kB / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.2463, allocations: 0 / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2463, allocations: 3.984 kB / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.2466, allocations: 187.4 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.2467, allocations: 81.02 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.2467, allocations: 8 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.2468, allocations: 11.98 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.2469, allocations: 3.938 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.2469, allocations: 0 / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.975e-05/0.2469, allocations: 87.3 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2469, allocations: 0 / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002311/0.2472, allocations: 16 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0005802/0.2477, allocations: 0.7241 MB / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002901/0.248, allocations: 59.94 kB / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.248, allocations: 0 / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.2482, allocations: 36.05 kB / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.2484, allocations: 7.938 kB / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005276/0.249, allocations: 164.1 kB / 1.059 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.2492, allocations: 0.6768 MB / 1.06 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.701e-05/0.2493, allocations: 11.98 kB / 1.06 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.2493, allocations: 11.44 kB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.2493, allocations: 0 / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9539/1.203, allocations: 1.644 MB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/16.05, allocations: 6.656 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches