Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_9_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.006169/0.00617, allocations: 103.3 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.001275/0.001275, allocations: 189 kB / 16.67 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.187/2.187, allocations: 390.3 MB / 0.6648 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 63.91 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.716/0.7174, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.00346/0.7209, allocations: 1.663 MB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008506/0.7218, allocations: 395.3 kB / 1.089 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.326e-05/0.7219, allocations: 1.156 kB / 1.089 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.722, allocations: 14.8 kB / 1.089 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.665e-05/0.7221, allocations: 21.98 kB / 1.089 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005735/0.7227, allocations: 122.4 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.7229, allocations: 114.8 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.7231, allocations: 39.23 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.247e-05/0.7232, allocations: 44.06 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.326e-05/0.7233, allocations: 44.3 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.7233, allocations: 8.375 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.7235, allocations: 56.62 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.615e-05/0.7236, allocations: 24.64 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.018e-05/0.7236, allocations: 45.89 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.7239, allocations: 138.3 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.724, allocations: 0.5625 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.673e-06/0.724, allocations: 0 / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.724, allocations: 1.406 kB / 1.09 GB, free: 3.52 MB / 0.8575 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.0006455/0.7246, allocations: 412.2 kB / 1.09 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.7247, allocations: 10.7 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.144e-05/0.7247, allocations: 38.5 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003428/0.7251, allocations: 31.8 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.7254, allocations: 198.9 kB / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.918e-05/0.7254, allocations: 32.55 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.7255, allocations: 12.91 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.7259, allocations: 107.8 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.7259, allocations: 0 / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.726, allocations: 1.125 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.726, allocations: 2.188 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004346/0.7264, allocations: 79.16 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.7275, allocations: 390.6 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009092/0.7284, allocations: 132.8 kB / 1.091 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.7287, allocations: 47.03 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.7287, allocations: 0.5938 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.7288, allocations: 32.39 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 2.314e-06/0.7288, allocations: 0.5625 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0007624/0.7296, allocations: 129.2 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.7296, allocations: 61.39 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.7298, allocations: 140.8 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.7298, allocations: 30.27 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.631e-05/0.7299, allocations: 111 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.7299, allocations: 24.52 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.766e-05/0.73, allocations: 20.61 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.354e-05/0.73, allocations: 319.7 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.7302, allocations: 30.45 kB / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.7305, allocations: 46.8 kB / 1.092 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.7308, allocations: 71.09 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.7309, allocations: 0 / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004647/0.7313, allocations: 116.6 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.7314, allocations: 6.453 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.7314, allocations: 0.9688 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.7314, allocations: 4.938 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.7316, allocations: 17.22 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.7316, allocations: 2.094 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.7318, allocations: 15.14 kB / 1.093 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.7318, allocations: 1.969 kB / 1.093 GB, free: 1.422 MB / 0.8575 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.797e-05/0.7319, allocations: 122.2 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/0.732, allocations: 9.484 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.065e-05/0.7321, allocations: 15.3 kB / 1.093 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/0.7321, allocations: 5.688 kB / 1.093 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.7321, allocations: 4 kB / 1.093 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.7321, allocations: 1.719 kB / 1.093 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.7324, allocations: 197.9 kB / 1.093 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.7324, allocations: 0.9688 kB / 1.093 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.7326, allocations: 15.92 kB / 1.093 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.7326, allocations: 4 kB / 1.093 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.7327, allocations: 0.7812 kB / 1.093 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.7327, allocations: 9.562 kB / 1.093 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.7327, allocations: 0 / 1.093 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004619/0.7332, allocations: 206.1 kB / 1.093 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.7332, allocations: 88.41 kB / 1.093 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.7333, allocations: 4.703 kB / 1.093 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/0.7336, allocations: 18.17 kB / 1.093 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.7336, allocations: 5.016 kB / 1.093 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.7337, allocations: 3.234 kB / 1.093 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.258e-05/0.7338, allocations: 110.6 kB / 1.093 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7338, allocations: 0 / 1.093 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004736/0.7343, allocations: 24.62 kB / 1.093 GB, free: 0.6836 MB / 0.8575 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.0007306/0.735, allocations: 0.7376 MB / 1.094 GB, free: 16 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004341/0.7355, allocations: 71.33 kB / 1.094 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.7355, allocations: 0 / 1.094 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.7357, allocations: 41 kB / 1.094 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005684/0.7363, allocations: 28.03 kB / 1.094 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/0.7398, allocations: 1.542 MB / 1.096 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.7403, allocations: 0.6939 MB / 1.097 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000152/0.7405, allocations: 12.39 kB / 1.097 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.7406, allocations: 26.11 kB / 1.097 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of SimCode: time 6.62e-07/0.7406, allocations: 3.938 kB / 1.097 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/0.7682, allocations: 2.78 MB / 1.099 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.437/8.205, allocations: 12.78 kB / 1.099 GB, free: 13.45 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches