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: translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002309/0.002309, allocations: 199.5 kB / 16.79 MB, free: 6.809 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.437/1.437, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.684/2.684, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.23 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2868, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003594/0.2904, allocations: 1.723 MB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009002/0.2913, allocations: 410.7 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.2915, allocations: 0 / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.2916, allocations: 11.92 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.097e-05/0.2917, allocations: 19.84 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.2922, allocations: 110.4 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.2924, allocations: 99.59 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.2926, allocations: 39.83 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.24e-05/0.2927, allocations: 43.89 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.598e-05/0.2928, allocations: 39.78 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.2928, allocations: 8 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.293, allocations: 59.95 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.579e-05/0.293, allocations: 15.92 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.757e-05/0.2931, allocations: 47.78 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.2933, allocations: 84.09 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2933, allocations: 0 / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.61e-07/0.2933, allocations: 0 / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.2933, allocations: 0 / 1.055 GB, free: 5.594 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.0007127/0.294, allocations: 427.1 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.2941, allocations: 15.91 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002779/0.2944, allocations: 32.81 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.2947, allocations: 192.1 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.66e-05/0.2947, allocations: 34.27 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.2948, allocations: 4.375 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.2951, allocations: 110.1 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2951, allocations: 3.938 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.2951, allocations: 8 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2951, allocations: 0 / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002512/0.2954, allocations: 75.94 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007719/0.2962, allocations: 388.4 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005648/0.2967, allocations: 134.6 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.2969, allocations: 40.83 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.2969, allocations: 4 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.2969, allocations: 34.56 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.2969, allocations: 0 / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004514/0.2974, allocations: 129.7 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.2974, allocations: 51.41 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.2976, allocations: 143.2 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.2976, allocations: 29.69 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/0.2977, allocations: 99.98 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.2977, allocations: 31.78 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-05/0.2978, allocations: 17.72 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.2979, allocations: 326.8 kB / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.298, allocations: 31.98 kB / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.2981, allocations: 45.69 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.2984, allocations: 77.67 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2984, allocations: 0 / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002775/0.2986, allocations: 113.5 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.2987, allocations: 8.031 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2987, allocations: 0 / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.2987, allocations: 4 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.2988, allocations: 19.92 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.2988, allocations: 3.938 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.078e-05/0.2989, allocations: 15.89 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.2989, allocations: 0 / 1.058 GB, free: 2.754 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 0.000106/0.2991, allocations: 121.7 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.2991, allocations: 15.89 kB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.602e-05/0.2991, allocations: 16.72 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2992, allocations: 3.938 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2992, allocations: 0 / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.2992, allocations: 3.984 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.2994, allocations: 197.6 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2994, allocations: 0 / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.2995, allocations: 15.98 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.2995, allocations: 0 / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.2995, allocations: 4 kB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.2996, allocations: 7.938 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2996, allocations: 0 / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.2999, allocations: 203.9 kB / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.377e-05/0.2999, allocations: 85.02 kB / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.2999, allocations: 0 / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.3001, allocations: 15.92 kB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.3002, allocations: 15.98 kB / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.3002, allocations: 0 / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.713e-05/0.3002, allocations: 104.5 kB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.31e-07/0.3003, allocations: 0 / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002391/0.3005, allocations: 16 kB / 1.059 GB, free: 1.852 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.0001181/0.3006, allocations: 107.2 kB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002695/0.3009, allocations: 75.95 kB / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3009, allocations: 0 / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.301, allocations: 40.12 kB / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.3014, allocations: 35.88 kB / 1.059 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000502/0.302, allocations: 262.4 kB / 1.059 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.3022, allocations: 0.6965 MB / 1.06 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.3023, allocations: 11.44 kB / 1.06 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of SimCode: time 3.41e-07/0.3023, allocations: 4 kB / 1.06 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of Templates: time 0.002997/0.3053, allocations: 1.299 MB / 1.061 GB, free: 15.28 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (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 & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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