Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 99.47 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.001537/0.001537, allocations: 177.3 kB / 15.95 MB, free: 216 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.42/1.42, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.643/2.643, allocations: 436.5 MB / 0.7104 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003232/0.0003233, allocations: 12 kB / 0.8708 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7958/0.7962, allocations: 153.7 MB / 1.021 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001845/0.7981, allocations: 0.9683 MB / 1.022 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007358/0.7988, allocations: 263.4 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.006e-05/0.7989, allocations: 4 kB / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.7989, allocations: 0 / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.899e-05/0.799, allocations: 3.984 kB / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.7992, allocations: 39.92 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.457e-05/0.7993, allocations: 15.97 kB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.98e-05/0.7994, allocations: 0 / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.921e-05/0.7994, allocations: 7.938 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.441e-05/0.7995, allocations: 12 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.7995, allocations: 0 / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.7997, allocations: 59.94 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.7997, allocations: 0 / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.856e-05/0.7998, allocations: 37.58 kB / 1.022 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.7999, allocations: 29.94 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.7999, allocations: 4 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7999, allocations: 0 / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.8, allocations: 0 / 1.022 GB, free: 15.66 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.0004455/0.8004, allocations: 331.3 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.8005, allocations: 15.98 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003226/0.8008, allocations: 19.97 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.8009, allocations: 163.1 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.801, allocations: 7.953 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.801, allocations: 0 / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.8011, allocations: 41.69 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.8011, allocations: 0 / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.8012, allocations: 0 / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.8012, allocations: 4 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.729e-05/0.8013, allocations: 19.92 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/0.8015, allocations: 153.7 kB / 1.023 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002525/0.804, allocations: 274.5 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.804, allocations: 7.891 kB / 1.023 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.8041, allocations: 30.56 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.8041, allocations: 0 / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001627/0.8042, allocations: 65.72 kB / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.8043, allocations: 51.41 kB / 1.023 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.602e-05/0.8044, allocations: 101.8 kB / 1.023 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.8044, allocations: 25.7 kB / 1.023 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.8044, allocations: 84.14 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.8044, allocations: 11.75 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.8045, allocations: 4 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.8046, allocations: 314.8 kB / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.077e-05/0.8046, allocations: 8 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.067e-05/0.8046, allocations: 11.98 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.504e-05/0.8046, allocations: 12.12 kB / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.8047, allocations: 0 / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.533e-05/0.8047, allocations: 57.95 kB / 1.024 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.8048, allocations: 7.953 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.8048, allocations: 4 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.8048, allocations: 0 / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.857e-05/0.8049, allocations: 4 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.8049, allocations: 0 / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.035e-05/0.8049, allocations: 0 / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.8049, allocations: 4 kB / 1.024 GB, free: 13.65 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 7.206e-05/0.805, allocations: 109.8 kB / 1.024 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.805, allocations: 11.97 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.964e-05/0.8051, allocations: 15.45 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.8051, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.8051, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.8051, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.8052, allocations: 161.6 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.8052, allocations: 0 / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.607e-05/0.8053, allocations: 8 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.8053, allocations: 0 / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.8053, allocations: 8 kB / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.8053, allocations: 3.953 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.8053, allocations: 3.938 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.799e-05/0.8054, allocations: 73.12 kB / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/0.8055, allocations: 85.09 kB / 1.024 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.8055, allocations: 4 kB / 1.024 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.108e-05/0.8055, allocations: 0 / 1.024 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.427e-05/0.8056, allocations: 3.953 kB / 1.024 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.8056, allocations: 8 kB / 1.024 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.326e-05/0.8056, allocations: 79.22 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.864e-06/0.8056, allocations: 0 / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001881/0.8058, allocations: 11.94 kB / 1.025 GB, free: 12.97 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.0001091/0.8059, allocations: 103.2 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.389e-05/0.806, allocations: 19.94 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.806, allocations: 0 / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.332e-05/0.8061, allocations: 20.08 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.8062, allocations: 8 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000286/0.8065, allocations: 132.8 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.8068, allocations: 0.677 MB / 1.025 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.061e-05/0.8068, allocations: 8 kB / 1.025 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.8069, allocations: 11.38 kB / 1.025 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.8069, allocations: 0 / 1.025 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of Templates: time 0.002275/0.8092, allocations: 471.8 kB / 1.026 GB, free: 11.48 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches