Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.004326/0.004326, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001206/0.001206, allocations: 203.9 kB / 16.68 MB, free: 5.969 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.581/2.581, allocations: 469.8 MB / 0.7425 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 71.88 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2517, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002184/0.2539, allocations: 1.424 MB / 1.222 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003801/0.2543, allocations: 187.5 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.243e-05/0.2543, allocations: 0 / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.612e-05/0.2544, allocations: 3.938 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.551e-05/0.2544, allocations: 7.938 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.2546, allocations: 23.91 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.603e-05/0.2547, allocations: 23.92 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.756e-05/0.2547, allocations: 15.92 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.077e-05/0.2548, allocations: 4 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.535e-05/0.2548, allocations: 15.92 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.2548, allocations: 4 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.856e-05/0.2549, allocations: 27.98 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.2549, allocations: 3.984 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.883e-05/0.255, allocations: 7.938 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.2551, allocations: 39.89 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2551, allocations: 0 / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2551, allocations: 4 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.2551, allocations: 0 / 1.222 GB, free: 12.54 MB / 0.9825 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.000399/0.2555, allocations: 343.4 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.2555, allocations: 8.031 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.62e-05/0.2556, allocations: 30.75 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.076e-05/0.2557, allocations: 8.891 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.2558, allocations: 164.3 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.2558, allocations: 8.359 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-06/0.2558, allocations: 4.375 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.256, allocations: 50.23 kB / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.256, allocations: 3.938 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.256, allocations: 0 / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.256, allocations: 0 / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.2562, allocations: 35.97 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002979/0.2565, allocations: 252.9 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.2566, allocations: 38.5 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.074e-05/0.2567, allocations: 20.91 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.2567, allocations: 4 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.2567, allocations: 30.56 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 2.876e-06/0.2568, allocations: 4 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003183/0.2571, allocations: 89.53 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.2571, allocations: 55.34 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.341e-05/0.2572, allocations: 101.8 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.2572, allocations: 25.7 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.857e-05/0.2573, allocations: 84.12 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.2573, allocations: 8.078 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.2573, allocations: 21.7 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.2574, allocations: 310.8 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-05/0.2575, allocations: 15.98 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.955e-05/0.2576, allocations: 15.98 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.2577, allocations: 48.88 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2578, allocations: 3.938 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000179/0.2579, allocations: 65.61 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.258, allocations: 7.984 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-06/0.258, allocations: 0 / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.258, allocations: 0 / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.561e-05/0.2581, allocations: 8 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.2581, allocations: 3.938 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.2581, allocations: 12.02 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.2581, allocations: 0 / 1.224 GB, free: 10.45 MB / 0.9825 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 7.196e-05/0.2582, allocations: 113.8 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.2582, allocations: 4 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.2585, allocations: 84.64 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2585, allocations: 4.234 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.2585, allocations: 0 / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.2585, allocations: 0 / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.2586, allocations: 169.5 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2587, allocations: 0 / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.953e-05/0.2587, allocations: 8 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.2587, allocations: 3.984 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.2587, allocations: 0 / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2587, allocations: 4 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.2587, allocations: 0 / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.259, allocations: 167.5 kB / 1.224 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.259, allocations: 77.11 kB / 1.224 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.259, allocations: 4 kB / 1.224 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-05/0.2591, allocations: 11.98 kB / 1.224 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.2592, allocations: 0 / 1.224 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.2592, allocations: 7.938 kB / 1.224 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.77e-05/0.2592, allocations: 87.27 kB / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2592, allocations: 0 / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001951/0.2594, allocations: 4 kB / 1.224 GB, free: 9.621 MB / 0.9825 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 (3): * Single equations (assignments): 3 * 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.0004959/0.2599, allocations: 0.7012 MB / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000192/0.2601, allocations: 43.95 kB / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.2601, allocations: 3.938 kB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.163e-05/0.2602, allocations: 19.98 kB / 1.225 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.2604, allocations: 5.5 kB / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003763/0.2608, allocations: 148.1 kB / 1.225 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.2611, allocations: 0.6846 MB / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.13e-05/0.2611, allocations: 0 / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/0.2612, allocations: 11.44 kB / 1.226 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of SimCode: time 2.905e-06/0.2612, allocations: 0 / 1.226 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.745/4.006, allocations: 1.374 MB / 1.227 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/14.64, allocations: 12.28 kB / 1.227 GB, free: 6.672 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches