Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.001809/0.001809, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002168/0.002168, allocations: 211.7 kB / 23 MB, free: 4.934 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.615/1.615, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.385/3.385, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [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.002126/0.002126, allocations: 65.31 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3936, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.003481/0.397, allocations: 0.7939 MB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000183/0.3972, allocations: 39.78 kB / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.991e-05/0.3973, allocations: 0 / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.246e-05/0.3974, allocations: 7.938 kB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.3975, allocations: 19.86 kB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.627e-05/0.3976, allocations: 15.98 kB / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.3978, allocations: 63.78 kB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.398, allocations: 35.97 kB / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.3981, allocations: 27.86 kB / 1.328 GB, free: 28 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.81e-05/0.3982, allocations: 27.84 kB / 1.328 GB, free: 0 / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.676e-05/0.3983, allocations: 8.047 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.82e-05/0.3983, allocations: 4 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.242e-05/0.3983, allocations: 15.94 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.341e-05/0.3984, allocations: 27.81 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.3986, allocations: 83.45 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.3986, allocations: 0 / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.436e-06/0.3986, allocations: 7.938 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.3987, allocations: 0 / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007666/0.3994, allocations: 306 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.898e-05/0.3995, allocations: 8.031 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.476e-05/0.3995, allocations: 8.891 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.3999, allocations: 134.4 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.3999, allocations: 4.375 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.4, allocations: 16.38 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.4002, allocations: 89.73 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.4002, allocations: 192 / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.4003, allocations: 11.94 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.4003, allocations: 0 / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.4004, allocations: 39.92 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008311/0.4013, allocations: 352.5 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.4014, allocations: 41.19 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.86e-05/0.4014, allocations: 25.83 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.4015, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.942e-05/0.4015, allocations: 34.56 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/0.4015, allocations: 0 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002664/0.4018, allocations: 53.53 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.219e-05/0.4019, allocations: 81.11 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.4021, allocations: 129.2 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.4021, allocations: 25.7 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.4022, allocations: 111.9 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.4022, allocations: 4.203 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.739e-05/0.4023, allocations: 25.7 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002788/0.4026, allocations: 314.8 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.9e-05/0.4026, allocations: 4 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-05/0.4026, allocations: 25.64 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.151e-05/0.4027, allocations: 25.72 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4027, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001451/0.4029, allocations: 57.53 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.4029, allocations: 11.98 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.4029, allocations: 4.062 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.4029, allocations: 4.031 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.87e-05/0.403, allocations: 7.984 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.4031, allocations: 4 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.728e-05/0.4031, allocations: 4 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.4031, allocations: 0 / 1.33 GB, free: 13.72 MB / 1.029 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 (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 prepare postOptimizeDAE: time 0.0001462/0.4033, allocations: 117.8 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.623e-05/0.4033, allocations: 11.89 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.761e-05/0.4034, allocations: 7.453 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.4034, allocations: 7.938 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.4034, allocations: 8 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/0.4034, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.4035, allocations: 4 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.4036, allocations: 4 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.4036, allocations: 3.938 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002082/0.4038, allocations: 196.2 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003025/0.4041, allocations: 297.9 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.48e-05/0.4042, allocations: 4 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001144/0.4043, allocations: 99.36 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of Backend: time 5.41e-07/0.4043, allocations: 4 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007423/0.405, allocations: 91.19 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of SimCode: time 0.0009096/0.406, allocations: 0.6004 MB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of Templates: time 0.004844/0.4108, allocations: 484.3 kB / 1.332 GB, free: 11.71 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.617824697998003]