Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: 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_10_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_10_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.001492/0.001492, allocations: 102.9 kB / 16.35 MB, free: 5.875 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.001801/0.001801, allocations: 191 kB / 17.29 MB, free: 5.516 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.421/2.421, allocations: 437.1 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.001401, allocations: 63.25 kB / 0.8707 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2891, allocations: 151.6 MB / 1.019 GB, free: 9.898 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.00333/0.2925, allocations: 1.668 MB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000873/0.2934, allocations: 402.8 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.2936, allocations: 0 / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.2937, allocations: 15.88 kB / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.767e-05/0.2938, allocations: 19.78 kB / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005955/0.2944, allocations: 123.6 kB / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.2946, allocations: 107.6 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.2948, allocations: 39.97 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.854e-05/0.2949, allocations: 47.89 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.295, allocations: 47.72 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.2951, allocations: 8 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.2952, allocations: 55.95 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.303e-05/0.2953, allocations: 23.92 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.466e-05/0.2953, allocations: 43.78 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.2956, allocations: 135.6 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2956, allocations: 0 / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2956, allocations: 0 / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.689e-06/0.2956, allocations: 0 / 1.021 GB, free: 7.168 MB / 0.795 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.0006961/0.2963, allocations: 423 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.2964, allocations: 8.031 kB / 1.022 GB, free: 6.695 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002672/0.2967, allocations: 24.83 kB / 1.022 GB, free: 6.672 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.2969, allocations: 200.1 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.872e-05/0.297, allocations: 42.19 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.297, allocations: 8.375 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.2973, allocations: 106.1 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2974, allocations: 3.938 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.2974, allocations: 0 / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2974, allocations: 4 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000231/0.2976, allocations: 79.94 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006948/0.2983, allocations: 388.4 kB / 1.023 GB, free: 5.758 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004985/0.2988, allocations: 130.6 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.299, allocations: 40.84 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.299, allocations: 4 kB / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.299, allocations: 30.56 kB / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.299, allocations: 0 / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0004269/0.2995, allocations: 137.8 kB / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.2995, allocations: 55.34 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.2996, allocations: 144.1 kB / 1.023 GB, free: 5.18 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.2997, allocations: 29.7 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.2997, allocations: 100 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.2998, allocations: 23.66 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/0.2998, allocations: 21.7 kB / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.2999, allocations: 318.8 kB / 1.024 GB, free: 4.672 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.3, allocations: 27.97 kB / 1.024 GB, free: 4.645 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.3002, allocations: 49.69 kB / 1.024 GB, free: 4.59 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.3004, allocations: 69.69 kB / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3004, allocations: 0 / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002739/0.3006, allocations: 121.5 kB / 1.024 GB, free: 4.391 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3007, allocations: 8.031 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3007, allocations: 0 / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3007, allocations: 0 / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.3008, allocations: 23.92 kB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.3008, allocations: 3.938 kB / 1.024 GB, free: 4.355 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.179e-05/0.3009, allocations: 15.84 kB / 1.024 GB, free: 4.34 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.3009, allocations: 4 kB / 1.024 GB, free: 4.336 MB / 0.795 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.152e-05/0.301, allocations: 122.4 kB / 1.024 GB, free: 4.207 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.3011, allocations: 11.91 kB / 1.024 GB, free: 4.195 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/0.3011, allocations: 12.72 kB / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.3011, allocations: 7.938 kB / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3011, allocations: 4 kB / 1.024 GB, free: 4.172 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3012, allocations: 3.984 kB / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.3013, allocations: 193.6 kB / 1.024 GB, free: 3.93 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3013, allocations: 0 / 1.024 GB, free: 3.93 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.998e-05/0.3015, allocations: 19.92 kB / 1.024 GB, free: 3.91 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3015, allocations: 4 kB / 1.024 GB, free: 3.906 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.3015, allocations: 0 / 1.024 GB, free: 3.906 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3015, allocations: 7.938 kB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3015, allocations: 0 / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.3018, allocations: 203.9 kB / 1.025 GB, free: 3.684 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.506e-05/0.3018, allocations: 89 kB / 1.025 GB, free: 3.578 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.3019, allocations: 4 kB / 1.025 GB, free: 3.574 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.302, allocations: 15.92 kB / 1.025 GB, free: 3.559 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.3021, allocations: 4 kB / 1.025 GB, free: 3.555 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.3021, allocations: 7.984 kB / 1.025 GB, free: 3.547 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.688e-05/0.3022, allocations: 105.9 kB / 1.025 GB, free: 3.445 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3022, allocations: 0 / 1.025 GB, free: 3.445 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002422/0.3024, allocations: 20 kB / 1.025 GB, free: 3.426 MB / 0.795 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.0001135/0.3025, allocations: 95.25 kB / 1.025 GB, free: 3.324 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002572/0.3028, allocations: 79.89 kB / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3028, allocations: 0 / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.3029, allocations: 40.2 kB / 1.025 GB, free: 3.207 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.3032, allocations: 20.12 kB / 1.025 GB, free: 3.188 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004796/0.3037, allocations: 211 kB / 1.025 GB, free: 2.953 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.304, allocations: 0.6963 MB / 1.026 GB, free: 2.23 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 6.861e-05/0.3041, allocations: 8.672 kB / 1.026 GB, free: 2.219 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.3041, allocations: 11.44 kB / 1.026 GB, free: 2.207 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.3041, allocations: 4 kB / 1.026 GB, free: 2.203 MB / 0.795 GB Notification: Performance of Templates: time 0.003995/0.3081, allocations: 1.445 MB / 1.027 GB, free: 0.7812 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches