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/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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_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.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_9_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.001777/0.001777, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.002211/0.00221, allocations: 192 kB / 17.31 MB, free: 5.18 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.242/2.242, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 60.69 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.297, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.00215/0.2992, allocations: 0.751 MB / 0.9519 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.3002, allocations: 0.8839 MB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.657e-05/0.3003, allocations: 0 / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.985e-05/0.3004, allocations: 7.922 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.828e-05/0.3005, allocations: 19.8 kB / 0.9528 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.3007, allocations: 35.94 kB / 0.9528 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.3008, allocations: 103.6 kB / 0.9529 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.3009, allocations: 23.98 kB / 0.9529 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.58e-05/0.301, allocations: 43.89 kB / 0.953 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.3011, allocations: 43.83 kB / 0.953 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.3012, allocations: 7.938 kB / 0.953 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.85e-05/0.3012, allocations: 8 kB / 0.953 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.901e-05/0.3012, allocations: 19.92 kB / 0.953 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.752e-05/0.3013, allocations: 39.78 kB / 0.9531 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.3015, allocations: 95.59 kB / 0.9532 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.395e-06/0.3015, allocations: 11.94 kB / 0.9532 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3015, allocations: 0 / 0.9532 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.3015, allocations: 4 kB / 0.9532 GB, free: 5.977 MB / 0.7325 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.0007332/0.3022, allocations: 403.1 kB / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3023, allocations: 12.03 kB / 0.9536 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.3023, allocations: 12.84 kB / 0.9536 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.3025, allocations: 176.2 kB / 0.9537 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.3025, allocations: 4.375 kB / 0.9538 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.3025, allocations: 4.375 kB / 0.9538 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.3029, allocations: 135.6 kB / 0.9539 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3029, allocations: 192 / 0.9539 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.3029, allocations: 3.938 kB / 0.9539 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.3029, allocations: 0 / 0.9539 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003293/0.3033, allocations: 99.91 kB / 0.954 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005872/0.3039, allocations: 444.5 kB / 0.9544 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003818/0.3042, allocations: 117.1 kB / 0.9545 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.3044, allocations: 61.67 kB / 0.9546 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.3045, allocations: 4 kB / 0.9546 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.3045, allocations: 34.56 kB / 0.9546 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3045, allocations: 0 / 0.9546 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0006327/0.3051, allocations: 173.4 kB / 0.9548 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.3052, allocations: 81.11 kB / 0.9549 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.3053, allocations: 137.8 kB / 0.955 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.3053, allocations: 25.7 kB / 0.955 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.581e-05/0.3054, allocations: 103.9 kB / 0.9551 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.3054, allocations: 19.72 kB / 0.9551 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.123e-05/0.3055, allocations: 25.7 kB / 0.9552 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3057, allocations: 322.8 kB / 0.9555 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.3058, allocations: 47.95 kB / 0.9555 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.306, allocations: 57.67 kB / 0.9556 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.3063, allocations: 113.9 kB / 0.9557 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3064, allocations: 4 kB / 0.9557 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003808/0.3067, allocations: 145.4 kB / 0.9558 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3068, allocations: 6.5 kB / 0.9558 GB, free: 3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3068, allocations: 0 / 0.9558 GB, free: 3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.167e-05/0.3068, allocations: 0 / 0.9558 GB, free: 3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.307, allocations: 31.91 kB / 0.9559 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.307, allocations: 0 / 0.9559 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.3072, allocations: 31.84 kB / 0.9559 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.3072, allocations: 4 kB / 0.9559 GB, free: 2.934 MB / 0.7325 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 9.709e-05/0.3073, allocations: 113.8 kB / 0.956 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.3073, allocations: 7.906 kB / 0.956 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005147/0.3079, allocations: 185.8 kB / 0.9562 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.85e-06/0.3079, allocations: 4 kB / 0.9562 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3079, allocations: 0 / 0.9562 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3079, allocations: 3.938 kB / 0.9562 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.3082, allocations: 209.5 kB / 0.9564 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3082, allocations: 4 kB / 0.9564 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.3084, allocations: 35.91 kB / 0.9564 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3084, allocations: 0 / 0.9564 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.3084, allocations: 0 / 0.9564 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3084, allocations: 4 kB / 0.9564 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3084, allocations: 4 kB / 0.9564 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004947/0.3089, allocations: 330.4 kB / 0.9568 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.296e-05/0.309, allocations: 101 kB / 0.9568 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.309, allocations: 0 / 0.9568 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.3092, allocations: 15.98 kB / 0.9569 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.659e-05/0.3093, allocations: 15.86 kB / 0.9569 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.3093, allocations: 4 kB / 0.9569 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.764e-05/0.3094, allocations: 112.8 kB / 0.957 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3094, allocations: 8 kB / 0.957 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002853/0.3097, allocations: 20 kB / 0.957 GB, free: 1.68 MB / 0.7325 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.0001254/0.3098, allocations: 95.25 kB / 0.9571 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004312/0.3103, allocations: 115.8 kB / 0.9572 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3103, allocations: 0 / 0.9572 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.3105, allocations: 63.95 kB / 0.9573 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.311, allocations: 26.19 kB / 0.9573 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005279/0.3115, allocations: 227.3 kB / 0.9575 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.3118, allocations: 0.7002 MB / 0.9582 GB, free: 412 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.826e-05/0.3119, allocations: 16.97 kB / 0.9582 GB, free: 396 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.463e-05/0.312, allocations: 23.38 kB / 0.9582 GB, free: 372 kB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.312, allocations: 0 / 0.9582 GB, free: 372 kB / 0.7325 GB Notification: Performance of Templates: time 0.004791/0.3168, allocations: 1.788 MB / 0.96 GB, free: 14.59 MB / 0.7481 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches