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.0009293/0.0009293, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001031/0.00196, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007217/0.0007217, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008386/0.00156, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 0.9588/0.9588, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.098/1.057, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.871/1.871, allocations: 378.2 MB / 0.6076 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4898/2.361, allocations: 123.3 MB / 0.728 GB, free: 5.84 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.793e-06/1.793e-06, allocations: 0.875 kB / 0.7293 GB, free: 4.539 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.578e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.535 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002335/0.002361, allocations: 0.8743 MB / 0.7302 GB, free: 3.691 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001332/0.002494, allocations: 47.72 kB / 0.7302 GB, free: 3.645 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/0.002536, allocations: 0 / 0.7302 GB, free: 3.645 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.359e-05/0.00257, allocations: 3.938 kB / 0.7302 GB, free: 3.641 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.592e-05/0.002625, allocations: 14.27 kB / 0.7303 GB, free: 3.629 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 4.518e-05/0.002671, allocations: 22.05 kB / 0.7303 GB, free: 3.609 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.002858, allocations: 58.16 kB / 0.7303 GB, free: 3.562 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.002978, allocations: 35.95 kB / 0.7304 GB, free: 3.527 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.446e-05/0.003073, allocations: 46.25 kB / 0.7304 GB, free: 3.488 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.432e-05/0.003117, allocations: 14.33 kB / 0.7304 GB, free: 3.477 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.003137, allocations: 8.5 kB / 0.7304 GB, free: 3.469 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.065e-06/0.003145, allocations: 5.406 kB / 0.7304 GB, free: 3.465 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.003163, allocations: 11.94 kB / 0.7304 GB, free: 3.453 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.003193, allocations: 19.94 kB / 0.7305 GB, free: 3.434 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.953e-05/0.003292, allocations: 35.78 kB / 0.7305 GB, free: 3.398 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.797e-05/0.00331, allocations: 4.688 kB / 0.7305 GB, free: 3.395 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.124e-06/0.003312, allocations: 4 kB / 0.7305 GB, free: 3.391 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.814e-05/0.00333, allocations: 5.703 kB / 0.7305 GB, free: 3.387 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.0003709/0.003701, allocations: 284.3 kB / 0.7308 GB, free: 3.082 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.003737, allocations: 8.031 kB / 0.7308 GB, free: 3.074 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.006e-05/0.003767, allocations: 12.92 kB / 0.7308 GB, free: 3.062 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.003905, allocations: 138.4 kB / 0.7309 GB, free: 2.902 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.003916, allocations: 4.375 kB / 0.7309 GB, free: 2.898 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.003926, allocations: 12.81 kB / 0.731 GB, free: 2.887 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.004026, allocations: 81.67 kB / 0.731 GB, free: 2.797 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.004036, allocations: 8.125 kB / 0.731 GB, free: 2.789 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.004043, allocations: 384 / 0.731 GB, free: 2.789 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.00405, allocations: 384 / 0.731 GB, free: 2.789 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.319e-05/0.004083, allocations: 27.86 kB / 0.7311 GB, free: 2.762 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.004455, allocations: 0.5016 MB / 0.7316 GB, free: 2.227 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.51e-05/0.00452, allocations: 170.3 kB / 0.7317 GB, free: 2.051 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.182e-05/0.004542, allocations: 80.14 kB / 0.7318 GB, free: 1.969 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.004562, allocations: 79.81 kB / 0.7319 GB, free: 1.891 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.004595, allocations: 105.8 kB / 0.732 GB, free: 1.777 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.004596, allocations: 1.125 kB / 0.732 GB, free: 1.777 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 5.25e-05/0.004648, allocations: 33.69 kB / 0.732 GB, free: 1.738 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.004696, allocations: 126.7 kB / 0.7321 GB, free: 1.602 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.096e-05/0.004776, allocations: 149.3 kB / 0.7323 GB, free: 1.445 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.163e-06/0.004784, allocations: 25.7 kB / 0.7323 GB, free: 1.414 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.093e-05/0.004835, allocations: 132.3 kB / 0.7324 GB, free: 1.281 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.26e-06/0.00484, allocations: 0.9375 kB / 0.7324 GB, free: 1.281 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.004866, allocations: 25.66 kB / 0.7324 GB, free: 1.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.309e-05/0.004939, allocations: 322.8 kB / 0.7328 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.53e-06/0.004944, allocations: 4.875 kB / 0.7328 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.022e-05/0.004974, allocations: 54.86 kB / 0.7328 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.071e-05/0.005025, allocations: 66.45 kB / 0.7329 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.005028, allocations: 4 kB / 0.7329 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.428e-05/0.005113, allocations: 75.27 kB / 0.7329 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.005124, allocations: 7.281 kB / 0.733 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.005129, allocations: 4.875 kB / 0.733 GB, free: 0.668 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/0.005137, allocations: 0 / 0.733 GB, free: 0.668 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.74e-05/0.005184, allocations: 16.62 kB / 0.733 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.005188, allocations: 3.984 kB / 0.733 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.114e-05/0.005209, allocations: 8.625 kB / 0.733 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.005213, allocations: 4 kB / 0.733 GB, free: 0.6367 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 6.629e-05/0.005279, allocations: 201.6 kB / 0.7332 GB, free: 440 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.005312, allocations: 106.1 kB / 0.7333 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.746e-05/0.00535, allocations: 116.8 kB / 0.7334 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.893e-05/0.005389, allocations: 188.2 kB / 0.7336 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.111e-05/0.00544, allocations: 177.2 kB / 0.7337 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.114e-05/0.005481, allocations: 180.2 kB / 0.7339 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.005615, allocations: 334.6 kB / 0.7342 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.557e-05/0.00564, allocations: 112.9 kB / 0.7343 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.283e-05/0.005663, allocations: 101 kB / 0.7344 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.005698, allocations: 110 kB / 0.7345 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.204e-05/0.00574, allocations: 184.2 kB / 0.7347 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.18e-05/0.005782, allocations: 180.3 kB / 0.7349 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-05/0.005827, allocations: 188.8 kB / 0.7351 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.431e-05/0.005871, allocations: 178.2 kB / 0.7352 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.005979, allocations: 315.7 kB / 0.7355 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.401e-05/0.006033, allocations: 180.2 kB / 0.7357 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.7e-05/0.00608, allocations: 104.9 kB / 0.7358 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.00613, allocations: 184.3 kB / 0.736 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.006159, allocations: 110.1 kB / 0.7361 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.559e-05/0.006184, allocations: 22.73 kB / 0.7361 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006184, allocations: 0 / 0.7361 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001311/0.006315, allocations: 12.7 kB / 0.7361 GB, free: 13.25 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.0001032/0.006419, allocations: 164.3 kB / 0.7363 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.743e-05/0.006486, allocations: 26.61 kB / 0.7363 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/0.006496, allocations: 4 kB / 0.7363 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.01e-07/0.006497, allocations: 0 / 0.7363 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.006711, allocations: 468.7 kB / 0.7368 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002301/0.006941, allocations: 231.9 kB / 0.737 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.042e-05/0.006972, allocations: 62.42 kB / 0.737 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.267e-05/0.007004, allocations: 5.75 kB / 0.737 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.007031, allocations: 55.38 kB / 0.7371 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of SimCode: time 5.52e-07/0.007031, allocations: 0.9375 kB / 0.7371 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of Templates: time 0.001701/0.008732, allocations: 331.4 kB / 0.7374 GB, free: 11.89 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.956161580979824]