Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001415/0.001415, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001688/0.001688, allocations: 163.1 kB / 22.46 MB, free: 5.375 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.506/1.506, allocations: 177.1 MB / 202.8 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.747/2.747, allocations: 359 MB / 0.6037 GB, free: 14.9 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.023e-05/3.262e-05, allocations: 2.281 kB / 0.951 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002405/0.002438, allocations: 0.7869 MB / 0.9517 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001693/0.002607, allocations: 39.78 kB / 0.9518 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.626e-05/0.002683, allocations: 4 kB / 0.9518 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.818e-05/0.002741, allocations: 7.875 kB / 0.9518 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.322e-05/0.002835, allocations: 11.92 kB / 0.9518 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.544e-05/0.00289, allocations: 15.98 kB / 0.9518 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.003036, allocations: 67.78 kB / 0.9519 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.003195, allocations: 31.97 kB / 0.9519 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.003309, allocations: 39.91 kB / 0.952 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.267e-05/0.003362, allocations: 19.91 kB / 0.952 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.003396, allocations: 4 kB / 0.952 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.364e-05/0.003409, allocations: 8 kB / 0.952 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.003433, allocations: 11.92 kB / 0.952 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.117e-05/0.003484, allocations: 23.92 kB / 0.952 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.003635, allocations: 83.52 kB / 0.9521 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.003639, allocations: 0 / 0.9521 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.22e-07/0.00364, allocations: 4 kB / 0.9521 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.003644, allocations: 0 / 0.9521 GB, free: 10.35 MB / 0.8575 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.0005399/0.004184, allocations: 306 kB / 0.9524 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.004226, allocations: 8.031 kB / 0.9524 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.004266, allocations: 12.89 kB / 0.9524 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.004555, allocations: 145.5 kB / 0.9526 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.004571, allocations: 8.375 kB / 0.9526 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.004591, allocations: 4.375 kB / 0.9526 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.004776, allocations: 94.3 kB / 0.9527 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.00479, allocations: 4.172 kB / 0.9527 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.004806, allocations: 8.375 kB / 0.9527 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.004812, allocations: 384 / 0.9527 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.498e-05/0.004897, allocations: 39.86 kB / 0.9527 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005694/0.005466, allocations: 356.4 kB / 0.953 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.012e-05/0.005536, allocations: 41.31 kB / 0.9531 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.862e-05/0.005575, allocations: 17.72 kB / 0.9531 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-06/0.005583, allocations: 0 / 0.9531 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.00561, allocations: 34.56 kB / 0.9531 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 3.397e-06/0.005613, allocations: 4 kB / 0.9531 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001982/0.005811, allocations: 49.62 kB / 0.9532 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.005874, allocations: 77.11 kB / 0.9533 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.006018, allocations: 132.9 kB / 0.9534 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.006034, allocations: 25.7 kB / 0.9534 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.169e-05/0.006126, allocations: 111.9 kB / 0.9535 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.006138, allocations: 11.95 kB / 0.9535 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.006173, allocations: 9.719 kB / 0.9535 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.006322, allocations: 318.8 kB / 0.9538 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.147e-05/0.006344, allocations: 7.984 kB / 0.9539 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.069e-05/0.006374, allocations: 25.91 kB / 0.9539 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.117e-05/0.006426, allocations: 25.72 kB / 0.9539 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.006427, allocations: 3.938 kB / 0.9539 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.395e-05/0.006521, allocations: 61.58 kB / 0.954 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.006535, allocations: 4 kB / 0.954 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.006539, allocations: 0 / 0.954 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.006559, allocations: 0 / 0.954 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.613e-05/0.006626, allocations: 8 kB / 0.954 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.006634, allocations: 8 kB / 0.954 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.538e-05/0.006659, allocations: 0 / 0.954 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.006666, allocations: 7.938 kB / 0.954 GB, free: 8.207 MB / 0.8575 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 8.981e-05/0.006755, allocations: 113.8 kB / 0.9541 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.126e-05/0.006847, allocations: 3.953 kB / 0.9541 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.126e-05/0.006878, allocations: 15.45 kB / 0.9541 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.00688, allocations: 0 / 0.9541 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.006884, allocations: 0 / 0.9541 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.006889, allocations: 3.938 kB / 0.9541 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/0.007311, allocations: 414.4 kB / 0.9545 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.007313, allocations: 4.062 kB / 0.9545 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.151e-05/0.007334, allocations: 4 kB / 0.9545 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.007337, allocations: 3.938 kB / 0.9545 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.007345, allocations: 3.938 kB / 0.9545 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.007346, allocations: 4 kB / 0.9545 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.00735, allocations: 4 kB / 0.9545 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.937e-05/0.00745, allocations: 73.94 kB / 0.9546 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.475e-05/0.007474, allocations: 11.94 kB / 0.9546 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.007489, allocations: 3.938 kB / 0.9546 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.736e-05/0.007507, allocations: 32 / 0.9546 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.007529, allocations: 12 kB / 0.9546 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.007531, allocations: 0 / 0.9546 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.891e-05/0.00762, allocations: 103.2 kB / 0.9547 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6e-08/0.00762, allocations: 0 / 0.9547 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002065/0.007827, allocations: 8 kB / 0.9547 GB, free: 7.359 MB / 0.8575 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.0001413/0.007968, allocations: 103.2 kB / 0.9548 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.951e-05/0.008058, allocations: 12 kB / 0.9549 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.00806, allocations: 0 / 0.9549 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.541e-05/0.008075, allocations: 12.06 kB / 0.9549 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.008226, allocations: 5.719 kB / 0.9549 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.008595, allocations: 170.6 kB / 0.955 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.118e-05/0.008676, allocations: 79.28 kB / 0.9551 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.978e-05/0.008706, allocations: 7.969 kB / 0.9551 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.008738, allocations: 12.5 kB / 0.9551 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of SimCode: time 4.1e-07/0.008738, allocations: 4.125 kB / 0.9551 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of Templates: time 0.003178/0.01192, allocations: 333.1 kB / 0.9554 GB, free: 6.582 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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: 8.119774155318737]