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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.001613/0.001613, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002007/0.002007, allocations: 192.5 kB / 16.14 MB, free: 6.711 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.267/1.267, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.578/2.578, allocations: 461.9 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.34 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2624, allocations: 157.4 MB / 1.052 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.00298/0.2654, allocations: 1.712 MB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007426/0.2662, allocations: 410.8 kB / 1.054 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.832e-05/0.2663, allocations: 0 / 1.054 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.2664, allocations: 7.922 kB / 1.054 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.097e-05/0.2665, allocations: 27.78 kB / 1.054 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003926/0.2669, allocations: 107.7 kB / 1.054 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.267, allocations: 107.6 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.2672, allocations: 36.12 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.93e-05/0.2672, allocations: 39.86 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.509e-05/0.2673, allocations: 35.84 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.2673, allocations: 4 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.2675, allocations: 55.95 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.275e-05/0.2675, allocations: 27.89 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.197e-05/0.2676, allocations: 39.8 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.2678, allocations: 119.6 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2678, allocations: 4 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.62e-07/0.2678, allocations: 4 kB / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.2678, allocations: 0 / 1.055 GB, free: 5.469 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005635/0.2684, allocations: 419.2 kB / 1.055 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.2684, allocations: 15.97 kB / 1.055 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.535e-05/0.2685, allocations: 38.75 kB / 1.055 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002401/0.2687, allocations: 32.81 kB / 1.055 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.2689, allocations: 200 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.63e-05/0.269, allocations: 34.27 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.269, allocations: 8.312 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.2693, allocations: 105.9 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.2693, allocations: 7.938 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.2693, allocations: 4 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2693, allocations: 0 / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002453/0.2696, allocations: 83.94 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006763/0.2703, allocations: 388.4 kB / 1.056 GB, free: 4 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005369/0.2708, allocations: 134.5 kB / 1.056 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.2709, allocations: 44.88 kB / 1.056 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.271, allocations: 0 / 1.056 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.271, allocations: 30.56 kB / 1.056 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.271, allocations: 0 / 1.056 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004192/0.2714, allocations: 137.7 kB / 1.056 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.2715, allocations: 63.27 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.2716, allocations: 139.3 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.2716, allocations: 25.7 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.2716, allocations: 96.14 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.2717, allocations: 27.78 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.492e-05/0.2717, allocations: 25.72 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.603e-05/0.2718, allocations: 318.8 kB / 1.057 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.2719, allocations: 27.98 kB / 1.057 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.2721, allocations: 45.69 kB / 1.057 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.2723, allocations: 77.67 kB / 1.057 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2723, allocations: 0 / 1.057 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002654/0.2726, allocations: 113.5 kB / 1.057 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.2726, allocations: 5.25 kB / 1.057 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.2726, allocations: 0 / 1.057 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2726, allocations: 7.938 kB / 1.057 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.2727, allocations: 15.98 kB / 1.057 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.2727, allocations: 3.938 kB / 1.057 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.812e-05/0.2728, allocations: 23.86 kB / 1.057 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.2729, allocations: 4 kB / 1.057 GB, free: 2.57 MB / 0.8106 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.053e-05/0.2729, allocations: 113.8 kB / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.655e-05/0.273, allocations: 7.906 kB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.273, allocations: 16.7 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.273, allocations: 7.875 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.273, allocations: 0 / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.273, allocations: 0 / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.2732, allocations: 205.6 kB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2733, allocations: 0 / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.2734, allocations: 15.98 kB / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2734, allocations: 0 / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.2734, allocations: 3.938 kB / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2734, allocations: 7.938 kB / 1.058 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2734, allocations: 3.984 kB / 1.058 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.2737, allocations: 203.4 kB / 1.058 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.2737, allocations: 85.02 kB / 1.058 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.2738, allocations: 0 / 1.058 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.274, allocations: 19.92 kB / 1.058 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.274, allocations: 7.984 kB / 1.058 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.274, allocations: 0 / 1.058 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.405e-05/0.2741, allocations: 108.8 kB / 1.058 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2741, allocations: 0 / 1.058 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002459/0.2743, allocations: 24 kB / 1.058 GB, free: 1.664 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 (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.0005279/0.2749, allocations: 0.734 MB / 1.059 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002437/0.2751, allocations: 76.02 kB / 1.059 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2751, allocations: 4 kB / 1.059 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.2753, allocations: 40.06 kB / 1.059 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.2756, allocations: 31.84 kB / 1.059 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.2773, allocations: 1.556 MB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.2776, allocations: 0.7004 MB / 1.061 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.792e-05/0.2777, allocations: 8.672 kB / 1.061 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.363e-05/0.2777, allocations: 27.42 kB / 1.061 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.2777, allocations: 0 / 1.061 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01166/0.2894, allocations: 2.486 MB / 1.064 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/0.2896, allocations: 223.6 kB / 1.064 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/2.097, allocations: 0 / 1.064 GB, free: 11.78 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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