Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001157/0.001157, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001624/0.002781, allocations: 449.7 kB / 10.37 MB, free: 324 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.001076/0.001076, allocations: 165.2 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001364/0.00244, allocations: 459.6 kB / 11.71 MB, free: 2.453 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.9933/0.9933, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1063/1.1, allocations: 53.65 MB / 243.3 MB, free: 15.6 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.877/1.877, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5042/2.381, allocations: 123.3 MB / 0.728 GB, free: 5.832 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.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.7293 GB, free: 4.531 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.37e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.005302/0.005325, allocations: 0.8671 MB / 0.7302 GB, free: 3.688 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001123/0.005438, allocations: 48.48 kB / 0.7302 GB, free: 3.641 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.273e-05/0.00548, allocations: 0 / 0.7302 GB, free: 3.641 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.091e-05/0.005511, allocations: 3.938 kB / 0.7302 GB, free: 3.637 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.23e-05/0.005573, allocations: 22.77 kB / 0.7303 GB, free: 3.617 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 4.309e-05/0.005617, allocations: 19.97 kB / 0.7303 GB, free: 3.598 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.005718, allocations: 54.47 kB / 0.7303 GB, free: 3.555 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.005832, allocations: 32.75 kB / 0.7304 GB, free: 3.523 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.00594, allocations: 55.53 kB / 0.7304 GB, free: 3.477 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.827e-05/0.005988, allocations: 17.53 kB / 0.7304 GB, free: 3.465 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.00601, allocations: 4.844 kB / 0.7304 GB, free: 3.461 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.125e-05/0.006021, allocations: 8 kB / 0.7304 GB, free: 3.453 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.006039, allocations: 7.938 kB / 0.7305 GB, free: 3.445 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.93e-05/0.006068, allocations: 20.59 kB / 0.7305 GB, free: 3.426 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.789e-05/0.006166, allocations: 40.31 kB / 0.7305 GB, free: 3.387 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.816e-05/0.006184, allocations: 0 / 0.7305 GB, free: 3.387 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.302e-06/0.006185, allocations: 0.9375 kB / 0.7305 GB, free: 3.387 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.718e-05/0.006202, allocations: 0 / 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.0003918/0.006594, allocations: 292.9 kB / 0.7308 GB, free: 3.074 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.006627, allocations: 8.031 kB / 0.7308 GB, free: 3.066 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/0.006657, allocations: 9.75 kB / 0.7308 GB, free: 3.059 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.0068, allocations: 145.5 kB / 0.7309 GB, free: 2.891 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.006812, allocations: 8.875 kB / 0.731 GB, free: 2.883 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.006823, allocations: 9.609 kB / 0.731 GB, free: 2.875 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.006931, allocations: 75.94 kB / 0.731 GB, free: 2.789 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.006939, allocations: 4.125 kB / 0.731 GB, free: 2.785 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.006948, allocations: 5.219 kB / 0.731 GB, free: 2.781 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.006955, allocations: 4.375 kB / 0.731 GB, free: 2.777 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.913e-05/0.006994, allocations: 27.84 kB / 0.7311 GB, free: 2.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/0.007388, allocations: 0.4993 MB / 0.7316 GB, free: 2.219 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.007597, allocations: 173.3 kB / 0.7317 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.402e-05/0.007621, allocations: 80.14 kB / 0.7318 GB, free: 1.957 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.007645, allocations: 75.28 kB / 0.7319 GB, free: 1.883 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.007683, allocations: 110.7 kB / 0.732 GB, free: 1.766 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.007684, allocations: 0 / 0.732 GB, free: 1.766 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.054e-05/0.007744, allocations: 30.44 kB / 0.732 GB, free: 1.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.944e-05/0.007834, allocations: 130.7 kB / 0.7321 GB, free: 1.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.782e-05/0.007932, allocations: 150.3 kB / 0.7323 GB, free: 1.434 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.745e-06/0.00794, allocations: 29.7 kB / 0.7323 GB, free: 1.398 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.007996, allocations: 123.8 kB / 0.7324 GB, free: 1.273 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.362e-06/0.008003, allocations: 0 / 0.7324 GB, free: 1.273 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.00804, allocations: 29.66 kB / 0.7325 GB, free: 1.238 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.434e-05/0.008124, allocations: 323.6 kB / 0.7328 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-06/0.008133, allocations: 3.984 kB / 0.7328 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.459e-05/0.008168, allocations: 55.77 kB / 0.7328 GB, free: 0.832 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.993e-05/0.008228, allocations: 64.98 kB / 0.7329 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.00823, allocations: 1.094 kB / 0.7329 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001069/0.008337, allocations: 75.23 kB / 0.733 GB, free: 0.668 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.008351, allocations: 8 kB / 0.733 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.008358, allocations: 4.719 kB / 0.733 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.008368, allocations: 4 kB / 0.733 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.008479, allocations: 13.03 kB / 0.733 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.008483, allocations: 4 kB / 0.733 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.318e-05/0.008516, allocations: 11.94 kB / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.008522, allocations: 12.45 kB / 0.733 GB, free: 0.6133 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 7.373e-05/0.008596, allocations: 194.6 kB / 0.7332 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.008638, allocations: 101 kB / 0.7333 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.41e-05/0.008682, allocations: 124.8 kB / 0.7334 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-05/0.008739, allocations: 176.3 kB / 0.7336 GB, free: 16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.412e-05/0.008783, allocations: 185.5 kB / 0.7338 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.287e-05/0.008826, allocations: 180.2 kB / 0.7339 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.008993, allocations: 333.4 kB / 0.7342 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.512e-05/0.009018, allocations: 106.2 kB / 0.7343 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.694e-05/0.009045, allocations: 105 kB / 0.7344 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.009086, allocations: 112.9 kB / 0.7346 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.277e-05/0.009129, allocations: 181 kB / 0.7347 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/0.009282, allocations: 180.3 kB / 0.7349 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.35e-05/0.009325, allocations: 180.8 kB / 0.7351 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-05/0.009377, allocations: 184.5 kB / 0.7352 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.009486, allocations: 312.5 kB / 0.7355 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.909e-05/0.009545, allocations: 184.2 kB / 0.7357 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.342e-05/0.009609, allocations: 105.7 kB / 0.7358 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.009656, allocations: 176.3 kB / 0.736 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.009686, allocations: 109.7 kB / 0.7361 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.506e-05/0.009721, allocations: 26.55 kB / 0.7361 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.009721, allocations: 1.375 kB / 0.7361 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001945/0.009916, allocations: 15.95 kB / 0.7361 GB, free: 13.24 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.000117/0.01003, allocations: 160.9 kB / 0.7363 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.347e-05/0.01011, allocations: 25.94 kB / 0.7363 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.01011, allocations: 0 / 0.7363 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.01011, 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.0002538/0.01037, allocations: 468.9 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.0002881/0.01065, allocations: 231.9 kB / 0.737 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.91e-05/0.0107, allocations: 60.52 kB / 0.737 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.356e-05/0.01075, allocations: 8.266 kB / 0.737 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.01078, allocations: 55.38 kB / 0.7371 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of SimCode: time 8.22e-07/0.01078, allocations: 0 / 0.7371 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of Templates: time 0.005117/0.0159, allocations: 347.2 kB / 0.7374 GB, free: 11.87 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.983407916501164]