Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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_latest_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_latest_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.001454/0.001454, allocations: 104 kB / 15.6 MB, free: 148 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.001773/0.001774, allocations: 192.1 kB / 16.53 MB, free: 6.625 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.524/1.524, allocations: 222.9 MB / 240.2 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.05/3.05, allocations: 472.7 MB / 0.7451 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 71.88 kB / 0.9121 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3683, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi): time 0.002337/0.3707, allocations: 0.7922 MB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002013/0.3727, allocations: 1.425 MB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.719e-05/0.3728, allocations: 0 / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.564e-05/0.3728, allocations: 11.86 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.263e-05/0.3729, allocations: 15.8 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.3734, allocations: 127.5 kB / 1.071 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.3735, allocations: 103.6 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.3736, allocations: 25.36 kB / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.3738, allocations: 47.84 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.2e-05/0.3739, allocations: 39.83 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.3739, allocations: 11.94 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003284/0.3742, allocations: 155.7 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.211e-05/0.3743, allocations: 23.91 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.999e-05/0.3743, allocations: 35.8 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.3746, allocations: 175.8 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3746, allocations: 0 / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3746, allocations: 0 / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3747, allocations: 0 / 1.071 GB, free: 7.363 MB / 0.8262 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.0008611/0.3755, allocations: 454.9 kB / 1.072 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3756, allocations: 8.031 kB / 1.072 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007668/0.3763, allocations: 68.7 kB / 1.072 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.3765, allocations: 190.1 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.3765, allocations: 384 / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.3765, allocations: 4.375 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/0.377, allocations: 151.8 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.377, allocations: 192 / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.377, allocations: 7.938 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.377, allocations: 4 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005382/0.3776, allocations: 139.8 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008181/0.3784, allocations: 464.7 kB / 1.073 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.38, allocations: 249 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/0.3803, allocations: 73.66 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.3803, allocations: 4 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.3803, allocations: 34.56 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.3803, allocations: 0 / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0009786/0.3813, allocations: 241.3 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.3814, allocations: 85.05 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.3815, allocations: 148.7 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.3816, allocations: 25.7 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.072e-05/0.3816, allocations: 96.28 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/0.3817, allocations: 31.78 kB / 1.074 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-05/0.3818, allocations: 33.61 kB / 1.074 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002279/0.382, allocations: 322.8 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/0.3823, allocations: 59.88 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.3826, allocations: 81.66 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005081/0.3831, allocations: 134 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3831, allocations: 0 / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000614/0.3837, allocations: 173.5 kB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.3837, allocations: 8 kB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3838, allocations: 4 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.3838, allocations: 0 / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.384, allocations: 31.95 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.3841, allocations: 4 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.3843, allocations: 23.81 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.3843, allocations: 11.92 kB / 1.074 GB, free: 3.801 MB / 0.8262 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.000125/0.3844, allocations: 127.5 kB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.126e-05/0.3845, allocations: 7.906 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007314/0.3852, allocations: 209.6 kB / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3852, allocations: 0 / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3852, allocations: 0 / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3853, allocations: 4 kB / 1.075 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.3856, allocations: 217.4 kB / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3856, allocations: 0 / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.3858, allocations: 35.95 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3858, allocations: 0 / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.3858, allocations: 7.984 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3859, allocations: 4 kB / 1.075 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3859, allocations: 0 / 1.075 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006527/0.3865, allocations: 362.5 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.48e-05/0.3866, allocations: 101 kB / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.3866, allocations: 4 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.3869, allocations: 15.98 kB / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.387, allocations: 11.98 kB / 1.075 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.387, allocations: 7.984 kB / 1.075 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.397e-05/0.3871, allocations: 109.7 kB / 1.076 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.643e-06/0.3871, allocations: 0 / 1.076 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003191/0.3874, allocations: 39.86 kB / 1.076 GB, free: 2.457 MB / 0.8262 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.0001974/0.3876, allocations: 111.7 kB / 1.076 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000611/0.3882, allocations: 147.8 kB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3882, allocations: 0 / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002794/0.3885, allocations: 75.88 kB / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005021/0.389, allocations: 25.11 kB / 1.076 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007614/0.3898, allocations: 249.5 kB / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.3901, allocations: 0.7002 MB / 1.077 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002273/0.3903, allocations: 31.92 kB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.307e-05/0.3904, allocations: 19.41 kB / 1.077 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of SimCode: time 7.11e-07/0.3904, allocations: 4 kB / 1.077 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of Templates: time 0.004675/0.3951, allocations: 1.893 MB / 1.079 GB, free: 15.18 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_DewPoint_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches