Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.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.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_latest_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.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 100 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.001731/0.001731, 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.516/1.516, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.729/2.729, allocations: 436.5 MB / 0.7104 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003171/0.0003171, allocations: 8 kB / 0.8708 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8214/0.8217, allocations: 153.6 MB / 1.021 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.001041/0.8228, allocations: 468.8 kB / 1.021 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.8243, allocations: 0.8702 MB / 1.022 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.295e-05/0.8244, allocations: 0 / 1.022 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.224e-05/0.8244, allocations: 7.922 kB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.8246, allocations: 15.97 kB / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.8247, allocations: 35.91 kB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.8249, allocations: 55.84 kB / 1.022 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.825, allocations: 19.97 kB / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.8251, allocations: 43.78 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.8253, allocations: 47.81 kB / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.8253, allocations: 4 kB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.994e-05/0.8253, allocations: 4 kB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.8253, allocations: 7.984 kB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/0.8254, allocations: 37.64 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.8255, allocations: 65.83 kB / 1.022 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.8255, allocations: 0 / 1.022 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8255, allocations: 0 / 1.022 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.8255, allocations: 0 / 1.022 GB, free: 15.44 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00074/0.8263, allocations: 403 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.8263, allocations: 11.98 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.8264, allocations: 7.906 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.8265, allocations: 178.8 kB / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.8266, allocations: 8 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.8266, allocations: 4 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/0.827, allocations: 131.3 kB / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.827, allocations: 0 / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/0.827, allocations: 4 kB / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.827, allocations: 0 / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003768/0.8274, allocations: 127.8 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006697/0.8281, allocations: 436.7 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004389/0.8286, allocations: 129.2 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.8286, allocations: 4.062 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.8286, allocations: 30.66 kB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.8286, allocations: 3.938 kB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0007104/0.8293, allocations: 205.5 kB / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.8294, allocations: 85.09 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.8296, allocations: 148.2 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.8296, allocations: 25.7 kB / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.193e-05/0.8297, allocations: 96.05 kB / 1.024 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.8297, allocations: 19.67 kB / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-06/0.8297, allocations: 8 kB / 1.024 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.8299, allocations: 314.8 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.8301, allocations: 55.95 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.8303, allocations: 73.66 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.8305, allocations: 59.97 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8305, allocations: 0 / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004537/0.8309, allocations: 169.4 kB / 1.025 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.831, allocations: 4 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.831, allocations: 0 / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/0.831, allocations: 4 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.8312, allocations: 35.91 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.8312, allocations: 0 / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.8314, allocations: 31.84 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.8314, allocations: 4 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 0.0001233/0.8315, allocations: 117.8 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.187e-05/0.8316, allocations: 7.906 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005732/0.8321, allocations: 213.7 kB / 1.025 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.8322, allocations: 0.5156 kB / 1.025 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.8322, allocations: 0 / 1.025 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.8322, allocations: 3.984 kB / 1.025 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.8325, allocations: 205.6 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.8325, allocations: 3.984 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.8327, allocations: 35.92 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.8327, allocations: 4 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.8327, allocations: 0 / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.8327, allocations: 3.984 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.8327, allocations: 7.984 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005313/0.8332, allocations: 364.1 kB / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.661e-05/0.8333, allocations: 96.94 kB / 1.026 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.8334, allocations: 4 kB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.8336, allocations: 27.97 kB / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/0.8336, allocations: 11.92 kB / 1.026 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.8336, allocations: 4 kB / 1.026 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.538e-05/0.8337, allocations: 115.7 kB / 1.026 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8337, allocations: 0 / 1.026 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002816/0.834, allocations: 20 kB / 1.026 GB, free: 11.1 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 11 * 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.0001255/0.8342, allocations: 103.2 kB / 1.026 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004394/0.8346, allocations: 139.8 kB / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8346, allocations: 0 / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.8348, allocations: 71.89 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.8352, allocations: 31.91 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005501/0.8358, allocations: 264 kB / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.8361, allocations: 0.708 MB / 1.028 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.36e-05/0.8362, allocations: 12.5 kB / 1.028 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.8362, allocations: 19.42 kB / 1.028 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8362, allocations: 0 / 1.028 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of Templates: time 0.004276/0.8405, allocations: 1.535 MB / 1.029 GB, free: 8.188 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches