Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhi_BuiLib.TWetBul|sub.y|phi.y|wetBulXi.TWetBul|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhi_BuiLib.TWetBul|sub.y|phi.y|wetBulXi.TWetBul|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.243/2.243, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001076/0.001076, allocations: 184.8 kB / 487.4 MB, free: 5.059 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.745/1.745, allocations: 221.5 MB / 0.7824 GB, free: 0.9531 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 99.83 kB / 0.9219 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.753e-05/1.757e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2778, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.119/4.397, allocations: 1.73 GB / 2.936 GB, free: 154.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/4.397, allocations: 76.61 kB / 2.936 GB, free: 154.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1403/4.537, allocations: 74.61 MB / 3.009 GB, free: 78.83 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.603e-06/4.537, allocations: 0 / 3.009 GB, free: 78.83 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.425e-05/4.538, allocations: 4 kB / 3.009 GB, free: 78.83 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007607/4.538, allocations: 482.7 kB / 3.009 GB, free: 78.31 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/4.538, allocations: 8.031 kB / 3.009 GB, free: 78.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007673/4.539, allocations: 79.72 kB / 3.009 GB, free: 78.23 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/4.539, allocations: 230.7 kB / 3.009 GB, free: 77.96 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/4.539, allocations: 7.938 kB / 3.01 GB, free: 77.95 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/4.539, allocations: 15.98 kB / 3.01 GB, free: 77.94 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002459/4.54, allocations: 127.7 kB / 3.01 GB, free: 77.81 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/4.54, allocations: 207.1 kB / 3.01 GB, free: 77.58 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/4.54, allocations: 4 kB / 3.01 GB, free: 77.58 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/4.54, allocations: 4 kB / 3.01 GB, free: 77.57 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/4.54, allocations: 4 kB / 3.01 GB, free: 77.57 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/4.541, allocations: 0.9588 MB / 3.011 GB, free: 76.55 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/4.541, allocations: 134.5 kB / 3.011 GB, free: 76.41 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.441e-05/4.542, allocations: 56.89 kB / 3.011 GB, free: 76.36 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/4.542, allocations: 4 kB / 3.011 GB, free: 76.35 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/4.542, allocations: 30.56 kB / 3.011 GB, free: 76.31 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 2.505e-06/4.542, allocations: 4 kB / 3.011 GB, free: 76.31 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.0003009/4.542, allocations: 141.5 kB / 3.011 GB, free: 76.16 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/4.542, allocations: 55.41 kB / 3.011 GB, free: 76.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/4.542, allocations: 139 kB / 3.011 GB, free: 75.95 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/4.542, allocations: 29.69 kB / 3.011 GB, free: 75.92 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/4.542, allocations: 135.9 kB / 3.011 GB, free: 75.78 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/4.542, allocations: 35.45 kB / 3.012 GB, free: 75.75 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.544e-05/4.542, allocations: 4 kB / 3.012 GB, free: 75.74 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.236e-05/4.542, allocations: 326.8 kB / 3.012 GB, free: 75.41 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.669e-05/4.542, allocations: 51.98 kB / 3.012 GB, free: 75.36 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.503e-05/4.542, allocations: 95.7 kB / 3.012 GB, free: 75.25 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/4.543, allocations: 78.11 kB / 3.012 GB, free: 75.17 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/4.543, allocations: 0 / 3.012 GB, free: 75.17 MB / 1.151 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002721/4.543, allocations: 181.4 kB / 3.012 GB, free: 74.99 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/4.543, allocations: 4 kB / 3.012 GB, free: 74.98 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/4.543, allocations: 4 kB / 3.012 GB, free: 74.98 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/4.543, allocations: 0 / 3.012 GB, free: 74.98 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/4.543, allocations: 60.03 kB / 3.012 GB, free: 74.92 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/4.543, allocations: 4 kB / 3.012 GB, free: 74.92 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/4.544, allocations: 35.81 kB / 3.012 GB, free: 74.88 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/4.544, allocations: 11.98 kB / 3.012 GB, free: 74.87 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.18e-05/4.544, allocations: 115.1 kB / 3.012 GB, free: 74.75 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/4.544, allocations: 11.91 kB / 3.012 GB, free: 74.74 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003908/4.544, allocations: 236.1 kB / 3.013 GB, free: 74.51 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/4.544, allocations: 0 / 3.013 GB, free: 74.51 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/4.544, allocations: 0 / 3.013 GB, free: 74.51 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/4.544, allocations: 4 kB / 3.013 GB, free: 74.51 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/4.544, allocations: 253.9 kB / 3.013 GB, free: 74.22 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/4.544, allocations: 0 / 3.013 GB, free: 74.22 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/4.545, allocations: 59.84 kB / 3.013 GB, free: 74.16 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/4.545, allocations: 3.984 kB / 3.013 GB, free: 74.16 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/4.545, allocations: 0 / 3.013 GB, free: 74.16 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/4.545, allocations: 8 kB / 3.013 GB, free: 74.15 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/4.545, allocations: 0 / 3.013 GB, free: 74.15 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/4.545, allocations: 288.3 kB / 3.013 GB, free: 73.86 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/4.545, allocations: 100.8 kB / 3.013 GB, free: 73.74 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/4.545, allocations: 0 / 3.013 GB, free: 73.74 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/4.545, allocations: 19.98 kB / 3.013 GB, free: 73.72 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/4.545, allocations: 15.97 kB / 3.013 GB, free: 73.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/4.545, allocations: 8 kB / 3.013 GB, free: 73.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 5.598e-05/4.545, allocations: 116.5 kB / 3.014 GB, free: 73.58 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.2e-07/4.545, allocations: 0 / 3.014 GB, free: 73.58 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0004094/4.546, allocations: 87.91 kB / 3.014 GB, free: 73.5 MB / 1.151 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 (23): * Single equations (assignments): 23 * 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.0007937/4.547, allocations: 0.7728 MB / 3.014 GB, free: 72.72 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002599/4.547, allocations: 145.3 kB / 3.015 GB, free: 72.58 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/4.547, allocations: 4 kB / 3.015 GB, free: 72.58 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/4.547, allocations: 84.23 kB / 3.015 GB, free: 72.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/4.547, allocations: 33.23 kB / 3.015 GB, free: 72.46 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004662/4.548, allocations: 225.9 kB / 3.015 GB, free: 72.22 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/4.548, allocations: 0.7363 MB / 3.016 GB, free: 71.46 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002708/4.548, allocations: 53.23 kB / 3.016 GB, free: 71.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.554e-05/4.548, allocations: 31.36 kB / 3.016 GB, free: 71.37 MB / 1.151 GB Notification: Performance of SimCode: time 2.11e-07/4.548, allocations: 0 / 3.016 GB, free: 71.37 MB / 1.151 GB Notification: Performance of Templates: time 0.00946/4.558, allocations: 6.61 MB / 3.022 GB, free: 64.78 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches