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.001674/0.001674, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002036/0.002036, allocations: 200 kB / 16.79 MB, free: 6.828 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.433/1.433, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.759/2.759, allocations: 461.9 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 67.36 kB / 0.8991 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3206, allocations: 157.4 MB / 1.053 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.002227/0.3229, allocations: 0.8142 MB / 1.054 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.324, allocations: 0.874 MB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.627e-05/0.3241, allocations: 4 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.957e-05/0.3242, allocations: 0 / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.823e-05/0.3243, allocations: 19.84 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.3245, allocations: 39.91 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.3247, allocations: 95.69 kB / 1.055 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.3248, allocations: 19.98 kB / 1.055 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.3249, allocations: 27.92 kB / 1.055 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.961e-05/0.325, allocations: 47.81 kB / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.3251, allocations: 4 kB / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.306e-05/0.3251, allocations: 4 kB / 1.055 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.15e-05/0.3251, allocations: 27.91 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.128e-05/0.3252, allocations: 31.8 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.3253, allocations: 64.09 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3253, allocations: 0 / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.708e-06/0.3253, allocations: 0 / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.3253, allocations: 3.938 kB / 1.055 GB, free: 6.254 MB / 0.8106 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.0007865/0.3261, allocations: 415.1 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.3262, allocations: 11.97 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.3262, allocations: 8.844 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.3264, allocations: 168.3 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.3264, allocations: 12.36 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.3264, allocations: 8.312 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/0.3268, allocations: 119.9 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3268, allocations: 4.125 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.3268, allocations: 7.922 kB / 1.056 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.3268, allocations: 4 kB / 1.056 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000373/0.3272, allocations: 103.9 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006332/0.3278, allocations: 440.6 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004242/0.3283, allocations: 109.1 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.3285, allocations: 69.67 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.3285, allocations: 0 / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.3286, allocations: 30.56 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.3286, allocations: 0 / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.000671/0.3292, allocations: 177.4 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.3293, allocations: 81.11 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.3294, allocations: 139.8 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.3294, allocations: 25.7 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/0.3295, allocations: 100.1 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.3295, allocations: 31.62 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.548e-05/0.3296, allocations: 25.7 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3297, allocations: 322.8 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.3299, allocations: 39.95 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.3301, allocations: 65.66 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/0.3305, allocations: 113.6 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3305, allocations: 0 / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004146/0.3309, allocations: 137.5 kB / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3309, allocations: 11.94 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3309, allocations: 0 / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3309, allocations: 8.453 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.3311, allocations: 23.97 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.3311, allocations: 0 / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.3313, allocations: 23.86 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.3313, allocations: 4 kB / 1.057 GB, free: 3.207 MB / 0.8106 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.0001123/0.3314, allocations: 121.8 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.3315, allocations: 7.906 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005258/0.332, allocations: 185.6 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.332, allocations: 4 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.332, allocations: 0 / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3321, allocations: 3.938 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.3323, allocations: 213.5 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3323, allocations: 0 / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.3325, allocations: 31.91 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3325, allocations: 0 / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.3326, allocations: 4 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3326, allocations: 0 / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3326, allocations: 0 / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004902/0.3331, allocations: 338.4 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.03e-05/0.3331, allocations: 93 kB / 1.058 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.3332, allocations: 0 / 1.058 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.3334, allocations: 23.92 kB / 1.058 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/0.3334, allocations: 11.92 kB / 1.058 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.885e-05/0.3335, allocations: 4 kB / 1.058 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.809e-05/0.3336, allocations: 121.1 kB / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3336, allocations: 0 / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002823/0.3339, allocations: 16 kB / 1.059 GB, free: 1.949 MB / 0.8106 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.0001391/0.334, allocations: 99.25 kB / 1.059 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004268/0.3344, allocations: 119.8 kB / 1.059 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3344, allocations: 0 / 1.059 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.3346, allocations: 59.95 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004562/0.3351, allocations: 33.5 kB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006227/0.3357, allocations: 290.7 kB / 1.059 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.336, allocations: 0.7004 MB / 1.06 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.007e-05/0.3361, allocations: 15.44 kB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of SimCode: time 3.106e-06/0.3361, allocations: 0 / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of Templates: time 0.003146/0.3393, allocations: 1.396 MB / 1.061 GB, free: 15.19 MB / 0.8262 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches