Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001333/0.001333, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.2 MB / 239.9 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.707/2.707, allocations: 436.5 MB / 0.7104 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003763, allocations: 12 kB / 0.8708 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8863/0.8867, allocations: 153.7 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001321/0.8881, allocations: 0.98 MB / 1.022 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.8893, allocations: 0.7921 MB / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.8893, allocations: 0 / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.908e-05/0.8893, allocations: 7.922 kB / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.914e-05/0.8894, allocations: 3.984 kB / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004881/0.8899, allocations: 146.5 kB / 1.023 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.715e-05/0.8899, allocations: 15.92 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.771e-05/0.89, allocations: 0 / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.178e-05/0.89, allocations: 11.98 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.305e-05/0.89, allocations: 7.938 kB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.055e-06/0.8901, allocations: 0 / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003131/0.8904, allocations: 171.8 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.496e-06/0.8904, allocations: 8 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.404e-05/0.8904, allocations: 33.69 kB / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.8906, allocations: 93.84 kB / 1.023 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.8906, allocations: 0 / 1.023 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8906, allocations: 0 / 1.023 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.8906, allocations: 0 / 1.023 GB, free: 14.83 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003647/0.891, allocations: 363.2 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.891, allocations: 11.98 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.8912, allocations: 7.984 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.713e-05/0.8913, allocations: 167 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.8913, allocations: 7.953 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-06/0.8913, allocations: 0 / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.8915, allocations: 49.66 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.8915, allocations: 0 / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.8915, allocations: 0 / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.8915, allocations: 0 / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.842e-05/0.8915, allocations: 12 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.8917, allocations: 161.7 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000789/0.8925, allocations: 130.5 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.8926, allocations: 89 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.8927, allocations: 38.64 kB / 1.024 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.8927, allocations: 0 / 1.024 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001625/0.8928, allocations: 61.69 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.8929, allocations: 55.34 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.893, allocations: 93.86 kB / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.893, allocations: 25.7 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.68e-05/0.8931, allocations: 80.14 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.8931, allocations: 19.8 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.8931, allocations: 0 / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.8933, allocations: 310.8 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.303e-05/0.8933, allocations: 8 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.439e-05/0.8933, allocations: 4 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.355e-05/0.8934, allocations: 15.98 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8934, allocations: 128 / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.775e-05/0.8934, allocations: 57.69 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.8935, allocations: 11.89 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.8935, allocations: 0 / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.8935, allocations: 0 / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.737e-05/0.8936, allocations: 11.94 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.8936, allocations: 0 / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.899e-05/0.8936, allocations: 3.938 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.8936, allocations: 0 / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.874e-05/0.8937, allocations: 117.8 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.8937, allocations: 7.906 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.8939, allocations: 73.12 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.8939, allocations: 4 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.894, allocations: 0 / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.894, allocations: 4 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.8941, allocations: 157.7 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.8941, allocations: 0 / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.167e-05/0.8941, allocations: 11.94 kB / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.8941, allocations: 336 / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.8942, allocations: 4 kB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.8942, allocations: 12 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8942, allocations: 0 / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.83e-05/0.8943, allocations: 81.12 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.028e-05/0.8944, allocations: 89.03 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.8944, allocations: 0 / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.508e-05/0.8944, allocations: 4 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.8945, allocations: 11.94 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.8945, allocations: 4 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.56e-05/0.8945, allocations: 75.28 kB / 1.025 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8945, allocations: 0 / 1.025 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002284/0.8947, allocations: 40 kB / 1.025 GB, free: 12.05 MB / 0.7794 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003384/0.8951, allocations: 176.2 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.368e-05/0.8952, allocations: 24 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.8952, allocations: 3.938 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.774e-05/0.8952, allocations: 19.98 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000113/0.8953, allocations: 4.5 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000283/0.8956, allocations: 144.4 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.8959, allocations: 0.6809 MB / 1.026 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.024e-05/0.896, allocations: 11.98 kB / 1.026 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/0.896, allocations: 11.44 kB / 1.026 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.896, allocations: 0 / 1.026 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of Templates: time 0.003139/0.8992, allocations: 1.015 MB / 1.027 GB, free: 9.914 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches