Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.HumidityRatioPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.007455/0.007455, allocations: 97.58 kB / 15.73 MB, free: 5.988 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.00171/0.00171, allocations: 191.8 kB / 16.67 MB, free: 5.918 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.876/2.876, allocations: 469.4 MB / 0.7421 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 68.11 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3046, allocations: 159.1 MB / 1.22 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003265/0.3079, allocations: 1.67 MB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000811/0.3087, allocations: 406.7 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.225e-05/0.3089, allocations: 0 / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.309, allocations: 7.875 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.979e-05/0.3091, allocations: 23.78 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004743/0.3096, allocations: 118.6 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.3097, allocations: 111.6 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.3099, allocations: 39.95 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.521e-05/0.31, allocations: 43.91 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.168e-05/0.31, allocations: 39.78 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.3101, allocations: 8 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.3102, allocations: 63.95 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.983e-05/0.3103, allocations: 23.84 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.004e-05/0.3103, allocations: 47.78 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.3106, allocations: 131.5 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.3106, allocations: 0 / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3106, allocations: 4 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.3106, allocations: 0 / 1.222 GB, free: 11.94 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005967/0.3112, allocations: 418.9 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3112, allocations: 16.03 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.295e-05/0.3113, allocations: 34.75 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002422/0.3115, allocations: 32.86 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.3118, allocations: 192.2 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.017e-05/0.3119, allocations: 38.2 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.3119, allocations: 4.375 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/0.3122, allocations: 119.7 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.3122, allocations: 0 / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.3123, allocations: 4 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3123, allocations: 0 / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.3125, allocations: 79.94 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006877/0.3132, allocations: 384.5 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005302/0.3138, allocations: 130.6 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.3139, allocations: 40.83 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.3139, allocations: 0 / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.3139, allocations: 38.56 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.3139, allocations: 0 / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004411/0.3144, allocations: 133.5 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.3144, allocations: 59.28 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.3146, allocations: 139.7 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.3146, allocations: 25.7 kB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.385e-05/0.3146, allocations: 96.14 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.3147, allocations: 35.83 kB / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.3147, allocations: 17.72 kB / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3148, allocations: 322.8 kB / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.315, allocations: 31.97 kB / 1.225 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.3151, allocations: 49.98 kB / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.3153, allocations: 77.67 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3153, allocations: 0 / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002727/0.3156, allocations: 113.5 kB / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.3156, allocations: 4 kB / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3156, allocations: 0 / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3157, allocations: 11.97 kB / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.3158, allocations: 15.98 kB / 1.225 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.3158, allocations: 3.938 kB / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.735e-05/0.3159, allocations: 19.92 kB / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.3159, allocations: 0 / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 prepare postOptimizeDAE: time 8.682e-05/0.316, allocations: 118.3 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.316, allocations: 11.95 kB / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.742e-05/0.3161, allocations: 12.72 kB / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3161, allocations: 11.92 kB / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/0.3161, allocations: 3.984 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3161, allocations: 0 / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.3163, allocations: 201.6 kB / 1.225 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3164, allocations: 0 / 1.225 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.3165, allocations: 19.98 kB / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.3165, allocations: 0 / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.3165, allocations: 0 / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3165, allocations: 3.938 kB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3165, allocations: 0 / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.3168, allocations: 207.4 kB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.3169, allocations: 85.06 kB / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.3169, allocations: 0 / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.3171, allocations: 15.92 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.3171, allocations: 11.98 kB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.3171, allocations: 0 / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.318e-05/0.3172, allocations: 109 kB / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3172, allocations: 0 / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002529/0.3175, allocations: 16 kB / 1.226 GB, free: 8.148 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 (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 Backend phase and start with SimCode phase: time 0.0005719/0.3181, allocations: 0.7436 MB / 1.226 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002639/0.3183, allocations: 71.94 kB / 1.227 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.3183, allocations: 4 kB / 1.227 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.3185, allocations: 43.84 kB / 1.227 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.3188, allocations: 38.67 kB / 1.227 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.3207, allocations: 1.557 MB / 1.228 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.3209, allocations: 0.6963 MB / 1.229 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.49e-05/0.321, allocations: 12.66 kB / 1.229 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.241e-05/0.3211, allocations: 23.44 kB / 1.229 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3211, allocations: 4 kB / 1.229 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.3414, allocations: 2.739 MB / 1.232 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.621/7.963, allocations: 8.547 kB / 1.232 GB, free: 2.234 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches