Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.301/2.301, allocations: 390.3 MB / 402.8 MB, free: 6.672 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001438, allocations: 180.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.645/1.645, allocations: 221.3 MB / 0.7915 GB, free: 5.465 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009405/0.0009407, allocations: 95.89 kB / 0.9318 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.777e-05/2.779e-05, allocations: 0 / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2881, allocations: 143 MB / 1.219 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.015/1.304, allocations: 152 MB / 1.367 GB, free: 2.094 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/1.304, allocations: 77.27 kB / 1.367 GB, free: 2.051 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009413/1.313, allocations: 2.557 MB / 1.37 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.024e-06/1.313, allocations: 0 / 1.37 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.967e-06/1.313, allocations: 0 / 1.37 GB, free: 15.81 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005683/1.314, allocations: 386.8 kB / 1.37 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/1.314, allocations: 12.03 kB / 1.37 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/1.314, allocations: 3.906 kB / 1.37 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/1.314, allocations: 174.9 kB / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/1.314, allocations: 0 / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/1.314, allocations: 7.438 kB / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/1.314, allocations: 48.38 kB / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/1.315, allocations: 0 / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/1.315, allocations: 0 / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/1.315, allocations: 0 / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.917e-05/1.315, allocations: 34.44 kB / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004751/1.315, allocations: 285.8 kB / 1.371 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/1.315, allocations: 29.2 kB / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.877e-05/1.315, allocations: 15.67 kB / 1.371 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002036/1.316, allocations: 93.19 kB / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/1.316, allocations: 38.67 kB / 1.371 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/1.316, allocations: 0 / 1.371 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002918/1.316, allocations: 60.62 kB / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/1.316, allocations: 51.41 kB / 1.371 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/1.316, allocations: 104.4 kB / 1.371 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/1.316, allocations: 27.67 kB / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/1.316, allocations: 91.58 kB / 1.371 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/1.316, allocations: 19.89 kB / 1.371 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/1.316, allocations: 0 / 1.371 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.316, allocations: 317.9 kB / 1.371 GB, free: 13.9 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.339e-05/1.316, allocations: 7.188 kB / 1.371 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.996e-05/1.316, allocations: 11.94 kB / 1.371 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.366e-05/1.316, allocations: 7.812 kB / 1.371 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.316, allocations: 0 / 1.371 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001259/1.317, allocations: 60.41 kB / 1.372 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/1.317, allocations: 4 kB / 1.372 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/1.317, allocations: 4 kB / 1.372 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/1.317, allocations: 0 / 1.372 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/1.317, allocations: 23.97 kB / 1.372 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/1.317, allocations: 3.953 kB / 1.372 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/1.317, allocations: 15.98 kB / 1.372 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/1.317, allocations: 12 kB / 1.372 GB, free: 13.76 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.424e-05/1.317, allocations: 101 kB / 1.372 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/1.317, allocations: 7.844 kB / 1.372 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/1.317, allocations: 68.45 kB / 1.372 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/1.317, allocations: 48 / 1.372 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/1.317, allocations: 3.984 kB / 1.372 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.317, allocations: 7.953 kB / 1.372 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/1.318, allocations: 168.5 kB / 1.372 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/1.318, allocations: 0 / 1.372 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/1.318, allocations: 27.42 kB / 1.372 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/1.318, allocations: 0 / 1.372 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/1.318, allocations: 0 / 1.372 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/1.318, allocations: 0 / 1.372 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.318, allocations: 0 / 1.372 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/1.318, allocations: 145.9 kB / 1.372 GB, free: 13.19 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/1.318, allocations: 92.33 kB / 1.372 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/1.318, allocations: 3.938 kB / 1.372 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/1.318, allocations: 19.97 kB / 1.372 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/1.318, allocations: 0 / 1.372 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/1.318, allocations: 4 kB / 1.372 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.458e-05/1.318, allocations: 98.27 kB / 1.372 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.01e-07/1.318, allocations: 0 / 1.372 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003859/1.319, allocations: 35.94 kB / 1.372 GB, free: 12.93 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002697/1.319, allocations: 139.1 kB / 1.372 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001286/1.319, allocations: 22.56 kB / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.319, allocations: 0 / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.946e-05/1.319, allocations: 19.81 kB / 1.373 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/1.319, allocations: 5.344 kB / 1.373 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003077/1.32, allocations: 88.53 kB / 1.373 GB, free: 12.65 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/1.32, allocations: 0.6887 MB / 1.373 GB, free: 11.94 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.374e-05/1.32, allocations: 0.625 kB / 1.373 GB, free: 11.94 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/1.32, allocations: 11.44 kB / 1.373 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of SimCode: time 3.2e-07/1.32, allocations: 0 / 1.373 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of Templates: time 0.004523/1.325, allocations: 1.15 MB / 1.374 GB, free: 10.8 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches