Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.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.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi",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.008376/0.008376, allocations: 98.52 kB / 15.73 MB, free: 6.055 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.001733/0.001733, allocations: 196 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.408/2.408, allocations: 390.3 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 63.89 kB / 0.9504 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8384/0.84, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.001826/0.8418, allocations: 0.7684 MB / 1.088 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009159/0.8428, allocations: 0.8793 MB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.292e-05/0.8428, allocations: 2 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.031e-05/0.8428, allocations: 4.734 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.533e-05/0.8429, allocations: 20.41 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.8431, allocations: 38.75 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.8432, allocations: 91.91 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.8434, allocations: 24.19 kB / 1.089 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.508e-05/0.8435, allocations: 43.78 kB / 1.089 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.715e-05/0.8436, allocations: 52.27 kB / 1.089 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.8436, allocations: 7.312 kB / 1.089 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.821e-05/0.8436, allocations: 6.938 kB / 1.089 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.834e-05/0.8436, allocations: 18.53 kB / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.947e-05/0.8437, allocations: 47.06 kB / 1.089 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.8438, allocations: 86.83 kB / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.8438, allocations: 4 kB / 1.089 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8439, allocations: 0 / 1.089 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.8439, allocations: 0.5156 kB / 1.089 GB, free: 3.914 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006458/0.8445, allocations: 408 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.8446, allocations: 13.72 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.071e-05/0.8446, allocations: 38.09 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.8446, allocations: 13.53 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.266e-05/0.8447, allocations: 177.3 kB / 1.09 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.8447, allocations: 3.688 kB / 1.09 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.8447, allocations: 8.172 kB / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.8451, allocations: 123.4 kB / 1.09 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.8451, allocations: 9.531 kB / 1.09 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.8451, allocations: 0 / 1.09 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.8451, allocations: 2.125 kB / 1.09 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003657/0.8455, allocations: 101.2 kB / 1.09 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.846, allocations: 439.8 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.8464, allocations: 113.6 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.8466, allocations: 59.89 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.8466, allocations: 1.438 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.415e-05/0.8467, allocations: 40.38 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.8467, allocations: 5.094 kB / 1.091 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0006563/0.8473, allocations: 176.7 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.8474, allocations: 84.23 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.299e-05/0.8475, allocations: 141.8 kB / 1.091 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.8475, allocations: 26.23 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.8475, allocations: 98.11 kB / 1.091 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.8475, allocations: 23.27 kB / 1.091 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.8476, allocations: 23.84 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.473e-05/0.8476, allocations: 324 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.8478, allocations: 44.44 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.848, allocations: 56.14 kB / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.8484, allocations: 111 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.8484, allocations: 0 / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004399/0.8488, allocations: 143.8 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.8488, allocations: 4.812 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.8488, allocations: 1.375 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.8489, allocations: 1.031 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.8491, allocations: 33.16 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.8491, allocations: 2.453 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.8492, allocations: 19.83 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.8492, allocations: 4.625 kB / 1.092 GB, free: 1.695 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 6.755e-05/0.8493, allocations: 113.9 kB / 1.092 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.8494, allocations: 12.52 kB / 1.092 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005511/0.8499, allocations: 189.8 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.8499, allocations: 1.641 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.8499, allocations: 5.188 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.85, allocations: 9.562 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.8502, allocations: 203.1 kB / 1.093 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.8502, allocations: 0.6562 kB / 1.093 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.8504, allocations: 32.16 kB / 1.093 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.8504, allocations: 0.875 kB / 1.093 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.8505, allocations: 1.5 kB / 1.093 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.8505, allocations: 6.641 kB / 1.093 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.8505, allocations: 0 / 1.093 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000602/0.8511, allocations: 330.6 kB / 1.093 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.325e-05/0.8512, allocations: 97.95 kB / 1.093 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.8512, allocations: 5.703 kB / 1.093 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.8514, allocations: 12.89 kB / 1.093 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.487e-05/0.8515, allocations: 20.11 kB / 1.093 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.8515, allocations: 7.547 kB / 1.093 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.069e-05/0.8516, allocations: 116.1 kB / 1.093 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8516, allocations: 0.9688 kB / 1.093 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003046/0.852, allocations: 19.53 kB / 1.093 GB, free: 0.793 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 11 * 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.001023/0.853, allocations: 0.8612 MB / 1.094 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000485/0.8535, allocations: 112.8 kB / 1.094 GB, free: 16 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.8535, allocations: 0 / 1.094 GB, free: 16 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.8537, allocations: 69.56 kB / 1.094 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004951/0.8542, allocations: 30.06 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.002431/0.8567, allocations: 1.732 MB / 1.096 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.857, allocations: 0.7015 MB / 1.097 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001023/0.8571, allocations: 17.22 kB / 1.097 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.62e-05/0.8572, allocations: 34.47 kB / 1.097 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.8572, allocations: 0 / 1.097 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.8792, allocations: 3.11 MB / 1.1 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.63/8.509, allocations: 31.38 kB / 1.1 GB, free: 13.36 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches