Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.0007695/0.0007695, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001179/0.001948, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006942/0.0006942, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009059/0.0016, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.036/1.036, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09476/1.131, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.905/1.905, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5906/2.496, allocations: 123.3 MB / 0.7283 GB, free: 5.723 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.7297 GB, free: 4.398 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.587e-05, allocations: 8.984 kB / 0.7297 GB, free: 4.391 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001694/0.00172, allocations: 0.8589 MB / 0.7305 GB, free: 3.566 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001016/0.001822, allocations: 52.38 kB / 0.7306 GB, free: 3.516 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.059e-05/0.001862, allocations: 0 / 0.7306 GB, free: 3.516 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.313e-05/0.001895, allocations: 12.42 kB / 0.7306 GB, free: 3.504 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.468e-05/0.00194, allocations: 11.52 kB / 0.7306 GB, free: 3.496 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.99e-05/0.00198, allocations: 15.98 kB / 0.7306 GB, free: 3.48 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.002083, allocations: 67.38 kB / 0.7307 GB, free: 3.426 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.002191, allocations: 31.97 kB / 0.7307 GB, free: 3.395 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.002292, allocations: 43.73 kB / 0.7307 GB, free: 3.359 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.025e-05/0.002342, allocations: 19.03 kB / 0.7308 GB, free: 3.344 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.002366, allocations: 4 kB / 0.7308 GB, free: 3.34 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.626e-06/0.002375, allocations: 4 kB / 0.7308 GB, free: 3.336 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.534e-05/0.0024, allocations: 15.94 kB / 0.7308 GB, free: 3.324 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.002424, allocations: 15.94 kB / 0.7308 GB, free: 3.309 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.002534, allocations: 39.72 kB / 0.7308 GB, free: 3.27 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.501e-05/0.002549, allocations: 4 kB / 0.7308 GB, free: 3.266 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.02e-07/0.002549, allocations: 4 kB / 0.7308 GB, free: 3.262 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.533e-05/0.002565, allocations: 0.5 kB / 0.7308 GB, free: 3.262 MB / 0.698 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.0004352/0.003, allocations: 285.8 kB / 0.7311 GB, free: 2.957 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.00304, allocations: 12.02 kB / 0.7311 GB, free: 2.945 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.003074, allocations: 8.938 kB / 0.7311 GB, free: 2.938 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.003235, allocations: 145.5 kB / 0.7313 GB, free: 2.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.003245, allocations: 5.031 kB / 0.7313 GB, free: 2.766 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.003261, allocations: 13.06 kB / 0.7313 GB, free: 2.754 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.003371, allocations: 81.17 kB / 0.7314 GB, free: 2.664 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.00338, allocations: 1.906 kB / 0.7314 GB, free: 2.664 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.003388, allocations: 384 / 0.7314 GB, free: 2.664 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.003394, allocations: 384 / 0.7314 GB, free: 2.664 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.095e-05/0.003425, allocations: 23.88 kB / 0.7314 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.003845, allocations: 0.5097 MB / 0.7319 GB, free: 2.098 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.466e-05/0.00392, allocations: 169.1 kB / 0.732 GB, free: 1.922 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.569e-05/0.003945, allocations: 80.64 kB / 0.7321 GB, free: 1.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.00397, allocations: 79.91 kB / 0.7322 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/0.00401, allocations: 109.9 kB / 0.7323 GB, free: 1.645 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.004011, allocations: 1.156 kB / 0.7323 GB, free: 1.645 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.32e-05/0.004074, allocations: 29.7 kB / 0.7323 GB, free: 1.609 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.004123, allocations: 130.7 kB / 0.7325 GB, free: 1.469 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.004246, allocations: 145.7 kB / 0.7326 GB, free: 1.316 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.004255, allocations: 25.7 kB / 0.7326 GB, free: 1.285 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.004318, allocations: 128.4 kB / 0.7327 GB, free: 1.156 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/0.00432, allocations: 0 / 0.7327 GB, free: 1.156 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.004356, allocations: 30.33 kB / 0.7328 GB, free: 1.121 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.926e-05/0.004445, allocations: 318.8 kB / 0.7331 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.004456, allocations: 5.75 kB / 0.7331 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.594e-05/0.004492, allocations: 62.78 kB / 0.7331 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.612e-05/0.004558, allocations: 72.91 kB / 0.7332 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.004561, allocations: 1.125 kB / 0.7332 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001104/0.004672, allocations: 74.73 kB / 0.7333 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.004688, allocations: 4 kB / 0.7333 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.004695, allocations: 4.938 kB / 0.7333 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.004713, allocations: 4 kB / 0.7333 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.708e-05/0.00478, allocations: 16.81 kB / 0.7333 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.004786, allocations: 7.984 kB / 0.7333 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/0.004811, allocations: 5.562 kB / 0.7333 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.004817, allocations: 4 kB / 0.7333 GB, free: 0.4961 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 8.047e-05/0.004897, allocations: 197 kB / 0.7335 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.004939, allocations: 108.9 kB / 0.7336 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.323e-05/0.004982, allocations: 113.9 kB / 0.7337 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.844e-05/0.00505, allocations: 188.2 kB / 0.7339 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.268e-05/0.005113, allocations: 176.3 kB / 0.7341 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-05/0.005164, allocations: 181.4 kB / 0.7343 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.00532, allocations: 333.3 kB / 0.7346 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.867e-05/0.005348, allocations: 101 kB / 0.7347 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.327e-05/0.005382, allocations: 113.5 kB / 0.7348 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.251e-05/0.005424, allocations: 108.9 kB / 0.7349 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.783e-05/0.005472, allocations: 177.4 kB / 0.735 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002095/0.005681, allocations: 184.2 kB / 0.7352 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.842e-05/0.00573, allocations: 185.1 kB / 0.7354 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.82e-05/0.005778, allocations: 180.4 kB / 0.7356 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.005888, allocations: 315.7 kB / 0.7359 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.939e-05/0.005937, allocations: 181.5 kB / 0.736 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.453e-05/0.005991, allocations: 105 kB / 0.7361 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.006043, allocations: 184.2 kB / 0.7363 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.006077, allocations: 106 kB / 0.7364 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.3e-05/0.00611, allocations: 30.55 kB / 0.7365 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.00611, allocations: 0 / 0.7365 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001393/0.00625, allocations: 8.516 kB / 0.7365 GB, free: 13.12 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001062/0.006356, allocations: 157.5 kB / 0.7366 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.04e-05/0.006436, allocations: 37.95 kB / 0.7366 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.006443, allocations: 0 / 0.7366 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.815e-06/0.006445, allocations: 0 / 0.7366 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.006678, allocations: 478.1 kB / 0.7371 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002581/0.006936, allocations: 228 kB / 0.7373 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.515e-05/0.006971, allocations: 63.98 kB / 0.7374 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.988e-05/0.007021, allocations: 6.781 kB / 0.7374 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.007059, allocations: 55.38 kB / 0.7374 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of SimCode: time 6.11e-07/0.00706, allocations: 2.375 kB / 0.7374 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of Templates: time 0.001898/0.008958, allocations: 270.1 kB / 0.7377 GB, free: 11.8 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0447011375799775]