Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.00138/0.00138, allocations: 106.6 kB / 16.41 MB, free: 5.973 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.001553/0.001553, allocations: 189.3 kB / 17.34 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.487/2.487, allocations: 437 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 67.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.827/0.8285, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.001841/0.8304, allocations: 0.7601 MB / 1.168 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009826/0.8314, allocations: 0.8803 MB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.014e-05/0.8315, allocations: 3.938 kB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.8315, allocations: 3.938 kB / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.069e-05/0.8316, allocations: 23.8 kB / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.8318, allocations: 39.94 kB / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.8319, allocations: 91.77 kB / 1.169 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.832, allocations: 31.91 kB / 1.169 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.391e-05/0.8321, allocations: 35.86 kB / 1.169 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.8322, allocations: 47.83 kB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.8323, allocations: 11.98 kB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.548e-05/0.8323, allocations: 4 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.545e-05/0.8323, allocations: 31.84 kB / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.332e-05/0.8324, allocations: 39.8 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.8325, allocations: 91.52 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8325, allocations: 0 / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.824e-06/0.8325, allocations: 0 / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.8325, allocations: 0 / 1.169 GB, free: 1.746 MB / 0.8887 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.000767/0.8333, allocations: 401.1 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.8334, allocations: 16.86 kB / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.8334, allocations: 8.844 kB / 1.17 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.8335, allocations: 180.2 kB / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.8335, allocations: 384 / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.8336, allocations: 8.375 kB / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.8339, allocations: 132.6 kB / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.8339, allocations: 192 / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.8339, allocations: 3.938 kB / 1.17 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.8339, allocations: 4 kB / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003512/0.8343, allocations: 103.8 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005584/0.8348, allocations: 436.6 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004069/0.8353, allocations: 121.1 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.8355, allocations: 57.73 kB / 1.171 GB, free: 132 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.8355, allocations: 4 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.8355, allocations: 38.48 kB / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.8355, allocations: 0 / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.0006371/0.8362, allocations: 169.5 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.8362, allocations: 93.03 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.8363, allocations: 136.2 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.8364, allocations: 25.7 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.531e-05/0.8364, allocations: 100.2 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.8365, allocations: 19.64 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.131e-05/0.8365, allocations: 33.7 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.8366, allocations: 314.8 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.8368, allocations: 47.95 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.837, allocations: 61.66 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.8373, allocations: 101.6 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.8373, allocations: 0 / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003851/0.8377, allocations: 153.4 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.8377, allocations: 7.938 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.8377, allocations: 4 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.8378, allocations: 4 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.8379, allocations: 27.91 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.8379, allocations: 0 / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.8381, allocations: 23.77 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.8381, allocations: 4 kB / 1.172 GB, free: 14.7 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.961e-05/0.8382, allocations: 117.8 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.679e-05/0.8382, allocations: 11.91 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004869/0.8387, allocations: 178.2 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.8388, allocations: 4 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.8388, allocations: 4 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.8388, allocations: 3.938 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.839, allocations: 209.5 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.8391, allocations: 3.984 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.8392, allocations: 31.97 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.8392, allocations: 0 / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.8393, allocations: 4 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.8393, allocations: 0 / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.8393, allocations: 0 / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004447/0.8397, allocations: 338.5 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-05/0.8398, allocations: 96.94 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.8398, allocations: 0 / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.84, allocations: 11.98 kB / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.8401, allocations: 19.92 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.8401, allocations: 4 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.448e-05/0.8402, allocations: 116.4 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8402, allocations: 0 / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002786/0.8405, allocations: 16 kB / 1.173 GB, free: 13.45 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001073/0.8406, allocations: 103.2 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003963/0.841, allocations: 111.9 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.841, allocations: 0 / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.8412, allocations: 68.12 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.8416, allocations: 33.81 kB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004963/0.8421, allocations: 249 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.8424, allocations: 0.7002 MB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.005e-05/0.8425, allocations: 15.38 kB / 1.174 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.8425, allocations: 0 / 1.174 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of Templates: time 0.002887/0.8454, allocations: 1.408 MB / 1.176 GB, free: 10.71 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches