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.001769/0.001769, allocations: 104.3 kB / 15.99 MB, free: 6.301 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.001869/0.001869, allocations: 199.5 kB / 16.91 MB, free: 6.148 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.435/1.435, allocations: 222.9 MB / 240.6 MB, free: 15.38 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.521/2.521, allocations: 437.1 MB / 0.7107 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 70.98 kB / 0.8694 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.316, allocations: 151.6 MB / 1.017 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.002201/0.3182, allocations: 0.8163 MB / 1.018 GB, free: 10.2 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.3194, allocations: 0.8795 MB / 1.019 GB, free: 9.309 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.909e-05/0.3194, allocations: 0 / 1.019 GB, free: 9.309 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.538e-05/0.3195, allocations: 3.938 kB / 1.019 GB, free: 9.305 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.021e-05/0.3196, allocations: 11.92 kB / 1.019 GB, free: 9.293 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.3198, allocations: 39.89 kB / 1.019 GB, free: 9.254 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.3199, allocations: 103.7 kB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.3201, allocations: 19.98 kB / 1.019 GB, free: 9.133 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.795e-05/0.3202, allocations: 39.91 kB / 1.019 GB, free: 9.094 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.977e-05/0.3203, allocations: 55.75 kB / 1.019 GB, free: 9.039 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.3203, allocations: 8 kB / 1.019 GB, free: 9.031 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.089e-05/0.3203, allocations: 8 kB / 1.019 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.3203, allocations: 15.92 kB / 1.019 GB, free: 9.008 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.159e-05/0.3204, allocations: 35.8 kB / 1.019 GB, free: 8.973 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.3205, allocations: 68.08 kB / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.3205, allocations: 4 kB / 1.02 GB, free: 8.902 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3205, allocations: 0 / 1.02 GB, free: 8.902 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.3206, allocations: 4 kB / 1.02 GB, free: 8.898 MB / 0.795 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.0007984/0.3214, allocations: 407.1 kB / 1.02 GB, free: 8.449 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3214, allocations: 16.86 kB / 1.02 GB, free: 8.434 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.3215, allocations: 8.844 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.3216, allocations: 180.2 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.3216, allocations: 384 / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.3217, allocations: 8.375 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.322, allocations: 127.8 kB / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3221, allocations: 192 / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.3221, allocations: 3.938 kB / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3221, allocations: 0 / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003534/0.3225, allocations: 103.9 kB / 1.02 GB, free: 7.961 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006419/0.3231, allocations: 436.6 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/0.3235, allocations: 125.1 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.3237, allocations: 53.73 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.3238, allocations: 4 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.3238, allocations: 34.56 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.3238, allocations: 0 / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.0006878/0.3245, allocations: 173.4 kB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.3246, allocations: 81.11 kB / 1.021 GB, free: 6.961 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.3247, allocations: 144.2 kB / 1.021 GB, free: 6.812 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.3247, allocations: 25.7 kB / 1.021 GB, free: 6.781 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.464e-05/0.3248, allocations: 108.1 kB / 1.021 GB, free: 6.672 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.3249, allocations: 11.72 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/0.3249, allocations: 29.7 kB / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3251, allocations: 318.8 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.3253, allocations: 51.95 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.3255, allocations: 57.67 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.3258, allocations: 109.6 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3258, allocations: 4 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004271/0.3263, allocations: 149.4 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3263, allocations: 4 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3263, allocations: 0 / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3263, allocations: 0 / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.3265, allocations: 31.91 kB / 1.022 GB, free: 5.887 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3265, allocations: 4 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.3267, allocations: 23.84 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.3267, allocations: 4 kB / 1.022 GB, free: 5.855 MB / 0.795 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 0.0001062/0.3268, allocations: 113.8 kB / 1.022 GB, free: 5.734 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.722e-05/0.3269, allocations: 7.906 kB / 1.022 GB, free: 5.727 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005422/0.3274, allocations: 190.1 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.3274, allocations: 4 kB / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3274, allocations: 0 / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3274, allocations: 3.938 kB / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.3278, allocations: 213.5 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.3278, allocations: 0 / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.328, allocations: 39.91 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.328, allocations: 0 / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.328, allocations: 0 / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.328, allocations: 4 kB / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.328, allocations: 0 / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005274/0.3285, allocations: 330.4 kB / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.512e-05/0.3286, allocations: 97 kB / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.3287, allocations: 3.984 kB / 1.023 GB, free: 4.766 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.3289, allocations: 11.98 kB / 1.023 GB, free: 4.754 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.555e-05/0.3289, allocations: 19.86 kB / 1.023 GB, free: 4.734 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.3289, allocations: 4 kB / 1.023 GB, free: 4.73 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.995e-05/0.3291, allocations: 112.8 kB / 1.023 GB, free: 4.621 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3291, allocations: 4 kB / 1.023 GB, free: 4.617 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002828/0.3293, allocations: 19.98 kB / 1.023 GB, free: 4.598 MB / 0.795 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.0001236/0.3295, allocations: 99.78 kB / 1.023 GB, free: 4.488 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004492/0.3299, allocations: 115.8 kB / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.3299, allocations: 4 kB / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.3302, allocations: 67.88 kB / 1.024 GB, free: 4.305 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000488/0.3306, allocations: 23.98 kB / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000597/0.3313, allocations: 281.1 kB / 1.024 GB, free: 3.973 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.3316, allocations: 0.6963 MB / 1.025 GB, free: 3.25 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.693e-05/0.3317, allocations: 27.42 kB / 1.025 GB, free: 3.223 MB / 0.795 GB Notification: Performance of SimCode: time 3.51e-07/0.3317, allocations: 0 / 1.025 GB, free: 3.223 MB / 0.795 GB Notification: Performance of Templates: time 0.003181/0.3349, allocations: 1.404 MB / 1.026 GB, free: 1.836 MB / 0.795 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=400 -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