Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.001891/0.001891, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002377/0.002377, allocations: 212.7 kB / 22.25 MB, free: 5.262 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.589/1.589, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.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.51/3.51, allocations: 0.5107 GB / 0.8158 GB, free: 17.87 MB / 0.6231 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.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") [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.00211/0.00211, allocations: 68.09 kB / 1.186 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4872/0.4893, allocations: 181.9 MB / 1.364 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002652/0.492, allocations: 0.8413 MB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001528/0.4921, allocations: 47.78 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.17e-05/0.4922, allocations: 4 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.757e-05/0.4922, allocations: 15.8 kB / 1.365 GB, free: 12.72 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.903e-05/0.4923, allocations: 11.88 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.135e-05/0.4924, allocations: 27.97 kB / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.4925, allocations: 75.78 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.4927, allocations: 37.28 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.204e-05/0.4928, allocations: 39.78 kB / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.425e-05/0.4929, allocations: 35.78 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.4929, allocations: 11.94 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.1e-05/0.4929, allocations: 8 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.453e-05/0.493, allocations: 11.94 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.835e-05/0.493, allocations: 31.8 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.4932, allocations: 107.4 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4932, allocations: 0 / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4932, allocations: 4 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.4932, allocations: 4 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005563/0.4938, allocations: 322 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.4938, allocations: 8.031 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.4938, allocations: 16.84 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.4941, allocations: 138.5 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.4941, allocations: 8.562 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.4942, allocations: 4.375 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.4944, allocations: 107.5 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.4944, allocations: 0 / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.4944, allocations: 12 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.4944, allocations: 0 / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.744e-05/0.4945, allocations: 47.86 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006301/0.4951, allocations: 380.2 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.838e-05/0.4952, allocations: 41.14 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.433e-05/0.4953, allocations: 17.78 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.4953, allocations: 0 / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.4953, allocations: 34.56 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 2.825e-06/0.4953, allocations: 4 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001977/0.4955, allocations: 49.59 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.066e-05/0.4956, allocations: 85.09 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.4958, allocations: 136.3 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.4958, allocations: 29.7 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.4959, allocations: 116.1 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.022e-05/0.4959, allocations: 3.953 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.496, allocations: 21.67 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.4962, allocations: 322.8 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.995e-05/0.4962, allocations: 8 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.725e-05/0.4962, allocations: 21.91 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.228e-05/0.4963, allocations: 29.7 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4963, allocations: 0 / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.663e-05/0.4964, allocations: 53.64 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.4964, allocations: 4 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4964, allocations: 224 / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.4964, allocations: 4 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.444e-05/0.4965, allocations: 15.92 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.4965, allocations: 8 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.521e-05/0.4965, allocations: 3.953 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.4965, allocations: 11.94 kB / 1.367 GB, free: 10.08 MB / 1.061 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.0001284/0.4966, allocations: 113.8 kB / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.4967, allocations: 4 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.4967, allocations: 3.812 kB / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.4967, allocations: 0 / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.4967, allocations: 7.984 kB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.4967, allocations: 0 / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004462/0.4972, allocations: 422.4 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4972, allocations: 4.031 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.087e-05/0.4972, allocations: 7.938 kB / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4972, allocations: 0 / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.4972, allocations: 4 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.4972, allocations: 3.938 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4972, allocations: 0 / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.4973, allocations: 73.94 kB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.65e-05/0.4973, allocations: 12.08 kB / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.4973, allocations: 0 / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.092e-05/0.4974, allocations: 7.938 kB / 1.368 GB, free: 9.352 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.4974, allocations: 8.016 kB / 1.368 GB, free: 9.344 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.4974, allocations: 0 / 1.368 GB, free: 9.344 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.329e-05/0.4975, allocations: 105.5 kB / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4975, allocations: 0 / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001923/0.4977, allocations: 15.89 kB / 1.368 GB, free: 9.227 MB / 1.061 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 (2): * Single equations (assignments): 2 * 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.0001153/0.4978, allocations: 99.19 kB / 1.368 GB, free: 9.121 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.884e-05/0.4979, allocations: 15.98 kB / 1.368 GB, free: 9.105 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.4979, allocations: 0 / 1.368 GB, free: 9.105 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.379e-05/0.4979, allocations: 16.06 kB / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.4981, allocations: 4 kB / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/0.4985, allocations: 186.4 kB / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.006e-05/0.4986, allocations: 84.19 kB / 1.368 GB, free: 8.773 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.146e-05/0.4986, allocations: 4.125 kB / 1.368 GB, free: 8.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.4986, allocations: 11.44 kB / 1.368 GB, free: 8.758 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.4986, allocations: 3.938 kB / 1.368 GB, free: 8.754 MB / 1.061 GB Notification: Performance of Templates: time 0.002882/0.5015, allocations: 401.2 kB / 1.369 GB, free: 8.367 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.923163885250688]