Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_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.DewPoint_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dewBulPhi.TDryBul|dewBulPhi.phi|dewBulPhi.TDewPoi|dewBulPhi1.TDryBul|dewBulPhi1.phi|dewBulPhi1.TDewPoi",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dewBulPhi.TDryBul|dewBulPhi.phi|dewBulPhi.TDewPoi|dewBulPhi1.TDryBul|dewBulPhi1.phi|dewBulPhi1.TDewPoi",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001324/0.001324, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.496/1.496, allocations: 222.9 MB / 241 MB, free: 15.16 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.347/2.347, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 59.02 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3543, allocations: 140.4 MB / 0.9511 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi): time 0.002624/0.3569, allocations: 0.7993 MB / 0.9519 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002403/0.3594, allocations: 1.422 MB / 0.9533 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.319e-05/0.3595, allocations: 0 / 0.9533 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.41e-05/0.3596, allocations: 11.88 kB / 0.9533 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.3597, allocations: 23.78 kB / 0.9533 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00065/0.3604, allocations: 119.5 kB / 0.9534 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.3606, allocations: 103.6 kB / 0.9535 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.3608, allocations: 25.38 kB / 0.9536 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.3609, allocations: 51.78 kB / 0.9536 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.361, allocations: 39.83 kB / 0.9537 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.3611, allocations: 11.94 kB / 0.9537 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004091/0.3615, allocations: 147.8 kB / 0.9538 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.3615, allocations: 19.92 kB / 0.9538 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.675e-05/0.3616, allocations: 39.8 kB / 0.9539 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005194/0.3622, allocations: 179.4 kB / 0.954 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.3622, allocations: 0 / 0.954 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.727e-06/0.3622, allocations: 0 / 0.954 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.3622, allocations: 4 kB / 0.954 GB, free: 5.094 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.001292/0.3635, allocations: 442.9 kB / 0.9545 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.911e-05/0.3636, allocations: 15.97 kB / 0.9545 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009612/0.3646, allocations: 60.77 kB / 0.9545 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.3649, allocations: 194 kB / 0.9547 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.3649, allocations: 8.375 kB / 0.9547 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.3649, allocations: 12.31 kB / 0.9547 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005408/0.3655, allocations: 147.8 kB / 0.9549 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.3655, allocations: 192 / 0.9549 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.3656, allocations: 7.938 kB / 0.9549 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.3656, allocations: 4 kB / 0.9549 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005485/0.3661, allocations: 131.9 kB / 0.955 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.3673, allocations: 476.6 kB / 0.9555 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/0.3692, allocations: 245 kB / 0.9557 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.3695, allocations: 77.66 kB / 0.9558 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.387e-05/0.3695, allocations: 7.984 kB / 0.9558 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.3696, allocations: 34.5 kB / 0.9558 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.3696, allocations: 0 / 0.9558 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0009946/0.3706, allocations: 237.3 kB / 0.956 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.413e-05/0.3707, allocations: 85.09 kB / 0.9561 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.3709, allocations: 143.9 kB / 0.9563 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.731e-05/0.3709, allocations: 29.7 kB / 0.9563 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.635e-05/0.371, allocations: 96.36 kB / 0.9564 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/0.371, allocations: 23.56 kB / 0.9564 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.781e-05/0.3711, allocations: 33.69 kB / 0.9564 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3713, allocations: 318.8 kB / 0.9567 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.3716, allocations: 63.88 kB / 0.9568 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.3718, allocations: 81.64 kB / 0.9569 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004727/0.3723, allocations: 130 kB / 0.957 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3723, allocations: 0 / 0.957 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006251/0.373, allocations: 185.4 kB / 0.9572 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.373, allocations: 4 kB / 0.9572 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.373, allocations: 4 kB / 0.9572 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.373, allocations: 0 / 0.9572 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.3733, allocations: 31.95 kB / 0.9572 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.3733, allocations: 4 kB / 0.9572 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.3735, allocations: 19.92 kB / 0.9572 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.3735, allocations: 7.984 kB / 0.9573 GB, free: 1.535 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 0.0001116/0.3736, allocations: 127.7 kB / 0.9574 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/0.3737, allocations: 11.81 kB / 0.9574 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000676/0.3744, allocations: 221.6 kB / 0.9576 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3744, allocations: 0 / 0.9576 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3744, allocations: 0 / 0.9576 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3744, allocations: 0 / 0.9576 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.3747, allocations: 217.6 kB / 0.9578 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3747, allocations: 0 / 0.9578 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.375, allocations: 35.95 kB / 0.9578 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.375, allocations: 0 / 0.9578 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.375, allocations: 4 kB / 0.9578 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.375, allocations: 7.938 kB / 0.9579 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.375, allocations: 0 / 0.9579 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006278/0.3756, allocations: 358.5 kB / 0.9582 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.3758, allocations: 100.9 kB / 0.9583 GB, free: 388 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.3758, allocations: 8 kB / 0.9583 GB, free: 380 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.3761, allocations: 15.97 kB / 0.9583 GB, free: 364 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.3761, allocations: 7.984 kB / 0.9583 GB, free: 356 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.3762, allocations: 12 kB / 0.9583 GB, free: 344 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.096e-05/0.3763, allocations: 114.3 kB / 0.9584 GB, free: 232 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3763, allocations: 0 / 0.9584 GB, free: 232 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003183/0.3766, allocations: 27.94 kB / 0.9585 GB, free: 204 kB / 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 (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 Backend phase and start with SimCode phase: time 0.0002367/0.3768, allocations: 115.2 kB / 0.9586 GB, free: 80 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006269/0.3775, allocations: 143.8 kB / 0.9587 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3775, allocations: 0 / 0.9587 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002681/0.3778, allocations: 79.86 kB / 0.9588 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004956/0.3783, allocations: 29.84 kB / 0.9588 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007304/0.379, allocations: 247.9 kB / 0.9591 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.3793, allocations: 0.7002 MB / 0.9597 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002239/0.3795, allocations: 31.92 kB / 0.9598 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.989e-05/0.3796, allocations: 19.42 kB / 0.9598 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of SimCode: time 2.9e-07/0.3796, allocations: 0 / 0.9598 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of Templates: time 0.004826/0.3844, allocations: 1.886 MB / 0.9616 GB, free: 12.92 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_DewPoint_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches