Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 100.8 kB / 15.06 MB, free: 1.094 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.001298/0.001298, allocations: 177.3 kB / 15.95 MB, free: 208 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.485/1.485, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.789/2.789, allocations: 436.5 MB / 0.7104 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004511/0.0004512, allocations: 8 kB / 0.8708 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7872/0.7876, allocations: 153.6 MB / 1.021 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001474/0.7892, allocations: 0.9953 MB / 1.022 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.7904, allocations: 0.7259 MB / 1.022 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.066e-05/0.7904, allocations: 0 / 1.022 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.7905, allocations: 0 / 1.022 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.831e-05/0.7905, allocations: 7.969 kB / 1.022 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004707/0.791, allocations: 111.6 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.591e-05/0.7911, allocations: 11.98 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.898e-05/0.7912, allocations: 7.984 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.437e-05/0.7912, allocations: 15.94 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.414e-05/0.7913, allocations: 7.984 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.7913, allocations: 0 / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003445/0.7917, allocations: 183.7 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.7917, allocations: 3.984 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.981e-05/0.7917, allocations: 29.7 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.7919, allocations: 85.81 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.7919, allocations: 3.938 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7919, allocations: 3.938 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.7919, allocations: 0 / 1.023 GB, free: 14.84 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.0004374/0.7924, allocations: 359.2 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.7924, allocations: 11.98 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.7925, allocations: 4 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.7926, allocations: 163.1 kB / 1.023 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.507e-05/0.7927, allocations: 33.66 kB / 1.023 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.7927, allocations: 0 / 1.023 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.7928, allocations: 41.69 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.7929, allocations: 4 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.7929, allocations: 4 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.7929, allocations: 3.984 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.337e-05/0.793, allocations: 19.92 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.7932, allocations: 161.6 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.7934, allocations: 46.56 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003006/0.7937, allocations: 182.3 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.7937, allocations: 38.55 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.7937, allocations: 0 / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002379/0.794, allocations: 65.53 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.794, allocations: 55.41 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.764e-05/0.7941, allocations: 101.8 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.7941, allocations: 25.7 kB / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.908e-05/0.7941, allocations: 84.14 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.7942, allocations: 3.906 kB / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.7942, allocations: 4 kB / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.7943, allocations: 318.8 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.469e-05/0.7943, allocations: 4 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.912e-05/0.7944, allocations: 11.98 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.516e-05/0.7944, allocations: 8 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.7944, allocations: 0 / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001305/0.7946, allocations: 69.53 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.7946, allocations: 13.66 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.7946, allocations: 0 / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.7946, allocations: 0 / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.346e-05/0.7947, allocations: 4 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.7947, allocations: 4 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.899e-05/0.7947, allocations: 3.938 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.7948, allocations: 0 / 1.025 GB, free: 12.78 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 8.789e-05/0.7949, allocations: 123.7 kB / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.7949, allocations: 3.953 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.7951, allocations: 65.17 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.7951, allocations: 0 / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.7951, allocations: 3.938 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.7951, allocations: 3.938 kB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.7952, allocations: 157.7 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.7952, allocations: 4 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.411e-05/0.7953, allocations: 4 kB / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.7953, allocations: 4.562 kB / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.7953, allocations: 7.938 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.7953, allocations: 4 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.7953, allocations: 0 / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.7954, allocations: 85.02 kB / 1.025 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.55e-05/0.7955, allocations: 89.03 kB / 1.025 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.7955, allocations: 4 kB / 1.025 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.14e-05/0.7956, allocations: 11.95 kB / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.7956, allocations: 3.984 kB / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.7957, allocations: 4 kB / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.359e-05/0.7957, allocations: 75.28 kB / 1.025 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7957, allocations: 3.938 kB / 1.025 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002274/0.7959, allocations: 36 kB / 1.025 GB, free: 11.99 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 (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 Backend phase and start with SimCode phase: time 0.0002232/0.7962, allocations: 131.2 kB / 1.025 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000138/0.7963, allocations: 27.98 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7963, allocations: 4 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.278e-05/0.7964, allocations: 15.98 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.7966, allocations: 4 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/0.7969, allocations: 142.4 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.7971, allocations: 0.6848 MB / 1.026 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.115e-05/0.7971, allocations: 0 / 1.026 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.7972, allocations: 11.44 kB / 1.026 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.7972, allocations: 0 / 1.026 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of Templates: time 0.003654/0.8008, allocations: 1.011 MB / 1.027 GB, free: 9.91 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches