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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 155.8 kB / 23.01 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.142/3.142, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 63.91 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046/1.048, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.002623/1.051, allocations: 0.7377 MB / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001506/1.052, allocations: 0.9108 MB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.756e-05/1.052, allocations: 1.156 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.612e-05/1.052, allocations: 8.438 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/1.052, allocations: 20.45 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/1.053, allocations: 39.59 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/1.053, allocations: 99.8 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/1.053, allocations: 17.03 kB / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.548e-05/1.053, allocations: 44.45 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/1.053, allocations: 46.41 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/1.053, allocations: 10.81 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 5.723e-05/1.053, allocations: 14.33 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.079e-05/1.053, allocations: 15.53 kB / 1.189 GB, free: 14.92 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.706e-05/1.053, allocations: 30.19 kB / 1.189 GB, free: 14.9 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/1.054, allocations: 93.84 kB / 1.189 GB, free: 14.87 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.054, allocations: 4 kB / 1.189 GB, free: 14.87 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.833e-06/1.054, allocations: 0 / 1.189 GB, free: 14.87 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.652e-06/1.054, allocations: 1.375 kB / 1.189 GB, free: 14.87 MB / 1.076 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.0006845/1.054, allocations: 332.3 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/1.054, allocations: 12.94 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004434/1.055, allocations: 34.19 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.805e-05/1.055, allocations: 124.5 kB / 1.189 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/1.055, allocations: 6.562 kB / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/1.055, allocations: 5.328 kB / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/1.055, allocations: 132.1 kB / 1.189 GB, free: 14.35 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/1.055, allocations: 192 / 1.189 GB, free: 14.35 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/1.055, allocations: 5.156 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.055, allocations: 1.547 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003959/1.056, allocations: 100.9 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000502/1.056, allocations: 366.3 kB / 1.19 GB, free: 13.99 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004132/1.057, allocations: 121.5 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/1.057, allocations: 54.17 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/1.057, allocations: 1.734 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/1.057, allocations: 37.84 kB / 1.19 GB, free: 13.85 MB / 1.076 GB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/1.057, allocations: 0 / 1.19 GB, free: 13.85 MB / 1.076 GB Notification: Performance of matching and sorting (n=6): time 0.0006833/1.057, allocations: 177.3 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/1.058, allocations: 78.89 kB / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/1.058, allocations: 125.9 kB / 1.19 GB, free: 13.58 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/1.058, allocations: 30.89 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/1.058, allocations: 102.6 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/1.058, allocations: 20.7 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.933e-05/1.058, allocations: 23.91 kB / 1.19 GB, free: 13.41 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.919e-05/1.058, allocations: 326.2 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/1.058, allocations: 44.06 kB / 1.191 GB, free: 13.08 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/1.058, allocations: 61.36 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/1.058, allocations: 103.4 kB / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.058, allocations: 4 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004069/1.059, allocations: 143.3 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/1.059, allocations: 5.562 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/1.059, allocations: 0.7031 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/1.059, allocations: 5.062 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/1.059, allocations: 26.25 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/1.059, allocations: 4 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/1.059, allocations: 21.73 kB / 1.191 GB, free: 12.94 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/1.059, allocations: 3.891 kB / 1.191 GB, free: 12.94 MB / 1.076 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 7.698e-05/1.059, allocations: 122.2 kB / 1.191 GB, free: 12.81 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/1.059, allocations: 7.578 kB / 1.191 GB, free: 12.81 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005406/1.06, allocations: 181.7 kB / 1.191 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/1.06, allocations: 3 kB / 1.191 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.06, allocations: 0 / 1.191 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.06, allocations: 2.5 kB / 1.191 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/1.06, allocations: 147.4 kB / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/1.06, allocations: 1.891 kB / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/1.06, allocations: 30.98 kB / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/1.06, allocations: 5.703 kB / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/1.06, allocations: 2 kB / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/1.06, allocations: 2.016 kB / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.06, allocations: 0 / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000461/1.061, allocations: 327.4 kB / 1.192 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/1.061, allocations: 28.86 kB / 1.192 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/1.061, allocations: 1.906 kB / 1.192 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/1.061, allocations: 20.25 kB / 1.192 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/1.061, allocations: 8.906 kB / 1.192 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/1.061, allocations: 2.531 kB / 1.192 GB, free: 12.3 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.757e-05/1.061, allocations: 107.2 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.061, allocations: 0 / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002948/1.062, allocations: 20.12 kB / 1.192 GB, free: 12.21 MB / 1.076 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 8.141e-05/1.062, allocations: 103.6 kB / 1.192 GB, free: 12.12 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004431/1.062, allocations: 114.5 kB / 1.192 GB, free: 12.09 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.062, allocations: 0 / 1.192 GB, free: 12.09 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002025/1.062, allocations: 68.95 kB / 1.192 GB, free: 12.07 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/1.063, allocations: 21.45 kB / 1.192 GB, free: 12.06 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004818/1.063, allocations: 229.2 kB / 1.193 GB, free: 11.89 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.442e-05/1.063, allocations: 83.97 kB / 1.193 GB, free: 11.81 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.342e-05/1.063, allocations: 16.27 kB / 1.193 GB, free: 11.8 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/1.063, allocations: 17.5 kB / 1.193 GB, free: 11.79 MB / 1.076 GB Notification: Performance of SimCode: time 6.01e-07/1.063, allocations: 0 / 1.193 GB, free: 11.79 MB / 1.076 GB Notification: Performance of Templates: time 0.005297/1.069, allocations: 1.806 MB / 1.195 GB, free: 11.56 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.687209520023316]