Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_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.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 106.3 kB / 16.36 MB, free: 5.879 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.00154/0.00154, allocations: 199.3 kB / 17.3 MB, free: 5.52 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.17 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.174/2.174, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.88 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3091, allocations: 140.4 MB / 0.9511 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi): time 0.002719/0.3118, allocations: 1.454 MB / 0.9525 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.313, allocations: 0.6784 MB / 0.9532 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.31e-05/0.313, allocations: 4 kB / 0.9532 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.786e-05/0.3131, allocations: 3.938 kB / 0.9532 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.986e-05/0.3132, allocations: 11.91 kB / 0.9532 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003812/0.3136, allocations: 103.6 kB / 0.9533 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.474e-05/0.3137, allocations: 51.84 kB / 0.9534 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.3138, allocations: 20 kB / 0.9534 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.733e-05/0.3138, allocations: 27.86 kB / 0.9534 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.927e-05/0.3139, allocations: 27.89 kB / 0.9535 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.3139, allocations: 4 kB / 0.9535 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.3142, allocations: 143.7 kB / 0.9536 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.3142, allocations: 8 kB / 0.9536 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.3143, allocations: 23.86 kB / 0.9536 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.3145, allocations: 135.6 kB / 0.9538 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3145, allocations: 4 kB / 0.9538 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3145, allocations: 0 / 0.9538 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.447e-06/0.3145, allocations: 0 / 0.9538 GB, free: 5.316 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006152/0.3152, allocations: 391.2 kB / 0.9541 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.3152, allocations: 12.03 kB / 0.9541 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000404/0.3156, allocations: 28.89 kB / 0.9542 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.3158, allocations: 168.3 kB / 0.9543 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.3158, allocations: 8.375 kB / 0.9543 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.3158, allocations: 4.375 kB / 0.9543 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.3161, allocations: 82.19 kB / 0.9544 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3161, allocations: 4.188 kB / 0.9544 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.3161, allocations: 15.88 kB / 0.9544 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3161, allocations: 0 / 0.9544 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002819/0.3164, allocations: 75.92 kB / 0.9545 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006123/0.317, allocations: 336.5 kB / 0.9548 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/0.3174, allocations: 82.55 kB / 0.9549 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.3175, allocations: 36.91 kB / 0.9549 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.3175, allocations: 4 kB / 0.9549 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.3175, allocations: 30.56 kB / 0.955 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.3176, allocations: 3.938 kB / 0.955 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0005054/0.3181, allocations: 133.4 kB / 0.9551 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.3181, allocations: 55.41 kB / 0.9552 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.17e-05/0.3182, allocations: 117.8 kB / 0.9553 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.3183, allocations: 29.7 kB / 0.9553 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.785e-05/0.3184, allocations: 88.14 kB / 0.9554 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.3184, allocations: 23.69 kB / 0.9554 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/0.3185, allocations: 17.7 kB / 0.9554 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3187, allocations: 318.8 kB / 0.9557 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.3188, allocations: 27.97 kB / 0.9558 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.3189, allocations: 31.97 kB / 0.9558 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.3192, allocations: 72.8 kB / 0.9559 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3192, allocations: 0 / 0.9559 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003095/0.3195, allocations: 113.5 kB / 0.956 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3195, allocations: 4 kB / 0.956 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3195, allocations: 0 / 0.956 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3196, allocations: 0 / 0.956 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.3197, allocations: 15.98 kB / 0.956 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3197, allocations: 4 kB / 0.956 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.849e-05/0.3198, allocations: 7.984 kB / 0.956 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.3198, allocations: 3.984 kB / 0.956 GB, free: 2.789 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.835e-05/0.3199, allocations: 121.8 kB / 0.9561 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.32, allocations: 7.906 kB / 0.9561 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.32, allocations: 7.906 kB / 0.9561 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.32, allocations: 0 / 0.9561 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.32, allocations: 0 / 0.9561 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.32, allocations: 0 / 0.9561 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.3202, allocations: 181.6 kB / 0.9563 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3202, allocations: 192 / 0.9563 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.3204, allocations: 19.98 kB / 0.9563 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3204, allocations: 4 kB / 0.9563 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.3204, allocations: 4 kB / 0.9563 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.3204, allocations: 3.984 kB / 0.9563 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3204, allocations: 7.938 kB / 0.9563 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.3207, allocations: 191.3 kB / 0.9565 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.3208, allocations: 85.11 kB / 0.9566 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.3208, allocations: 0 / 0.9566 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.321, allocations: 7.984 kB / 0.9566 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.321, allocations: 8 kB / 0.9566 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.321, allocations: 0 / 0.9566 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.062e-05/0.3211, allocations: 99.2 kB / 0.9567 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3211, allocations: 0 / 0.9567 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002416/0.3213, allocations: 15.94 kB / 0.9567 GB, free: 1.941 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 4 * 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.0002016/0.3216, allocations: 127.1 kB / 0.9569 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003259/0.3219, allocations: 71.86 kB / 0.9569 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3219, allocations: 0 / 0.9569 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.322, allocations: 39.97 kB / 0.957 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.3224, allocations: 11.98 kB / 0.957 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005089/0.3229, allocations: 169.6 kB / 0.9571 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.3232, allocations: 0.6883 MB / 0.9578 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.582e-05/0.3233, allocations: 16.3 kB / 0.9578 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.029e-05/0.3233, allocations: 11.44 kB / 0.9578 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.3233, allocations: 0 / 0.9578 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of Templates: time 0.00388/0.3272, allocations: 1.107 MB / 0.9589 GB, free: 15.66 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Psychrometrics_Validation_h_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches