Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002406/0.002406, allocations: 188.3 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.27/3.27, allocations: 0.4893 GB / 0.7884 GB, free: 33.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 62.16 kB / 1.145 GB, free: 30.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4065, allocations: 174.8 MB / 1.316 GB, free: 9.754 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002301/0.4088, allocations: 0.8435 MB / 1.317 GB, free: 8.918 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001567/0.409, allocations: 51.72 kB / 1.317 GB, free: 8.867 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.259e-05/0.4091, allocations: 0 / 1.317 GB, free: 8.867 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.58e-05/0.4091, allocations: 7.875 kB / 1.317 GB, free: 8.859 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.938e-05/0.4092, allocations: 11.88 kB / 1.317 GB, free: 8.848 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.958e-05/0.4093, allocations: 19.97 kB / 1.317 GB, free: 8.828 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.4094, allocations: 59.84 kB / 1.317 GB, free: 8.77 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.4096, allocations: 39.97 kB / 1.317 GB, free: 8.73 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.896e-05/0.4097, allocations: 27.86 kB / 1.317 GB, free: 8.703 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.094e-05/0.4097, allocations: 27.8 kB / 1.317 GB, free: 8.676 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.4098, allocations: 8 kB / 1.317 GB, free: 8.668 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/0.4098, allocations: 4 kB / 1.317 GB, free: 8.664 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.671e-05/0.4098, allocations: 19.92 kB / 1.317 GB, free: 8.645 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.536e-05/0.4098, allocations: 31.81 kB / 1.317 GB, free: 8.613 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.41, allocations: 75.56 kB / 1.317 GB, free: 8.539 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.41, allocations: 0 / 1.317 GB, free: 8.539 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.114e-06/0.41, allocations: 0 / 1.317 GB, free: 8.539 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.41, allocations: 3.938 kB / 1.317 GB, free: 8.535 MB / 1.014 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.0004981/0.4105, allocations: 310 kB / 1.318 GB, free: 8.199 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.4105, allocations: 12.03 kB / 1.318 GB, free: 8.188 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.4106, allocations: 8.891 kB / 1.318 GB, free: 8.18 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.4108, allocations: 134.3 kB / 1.318 GB, free: 8.023 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.4108, allocations: 8.375 kB / 1.318 GB, free: 8.016 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.4108, allocations: 4.375 kB / 1.318 GB, free: 8.012 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.411, allocations: 99.89 kB / 1.318 GB, free: 7.902 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.411, allocations: 192 / 1.318 GB, free: 7.902 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.411, allocations: 3.938 kB / 1.318 GB, free: 7.898 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.411, allocations: 4 kB / 1.318 GB, free: 7.895 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.767e-05/0.4111, allocations: 31.98 kB / 1.318 GB, free: 7.863 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005939/0.4117, allocations: 407.8 kB / 1.318 GB, free: 7.418 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.776e-05/0.4118, allocations: 41.16 kB / 1.318 GB, free: 7.359 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.551e-05/0.4118, allocations: 17.84 kB / 1.318 GB, free: 7.336 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.4118, allocations: 4 kB / 1.318 GB, free: 7.332 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.4118, allocations: 34.59 kB / 1.318 GB, free: 7.289 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4118, allocations: 0 / 1.318 GB, free: 7.289 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.000187/0.412, allocations: 61.52 kB / 1.318 GB, free: 7.223 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.4121, allocations: 77.11 kB / 1.318 GB, free: 7.129 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.4122, allocations: 161.1 kB / 1.319 GB, free: 6.965 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.4123, allocations: 29.7 kB / 1.319 GB, free: 6.93 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.846e-05/0.4123, allocations: 108 kB / 1.319 GB, free: 6.82 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.785e-06/0.4123, allocations: 7.891 kB / 1.319 GB, free: 6.812 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.4124, allocations: 17.72 kB / 1.319 GB, free: 6.789 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4125, allocations: 323.1 kB / 1.319 GB, free: 6.465 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.4125, allocations: 4 kB / 1.319 GB, free: 6.461 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.69e-05/0.4126, allocations: 17.72 kB / 1.319 GB, free: 6.438 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.41e-05/0.4126, allocations: 29.66 kB / 1.319 GB, free: 6.402 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.4126, allocations: 0 / 1.319 GB, free: 6.402 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.843e-05/0.4127, allocations: 57.73 kB / 1.319 GB, free: 6.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.4127, allocations: 8.062 kB / 1.319 GB, free: 6.332 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.4127, allocations: 11.88 kB / 1.319 GB, free: 6.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.4128, allocations: 3.984 kB / 1.319 GB, free: 6.316 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.905e-05/0.4128, allocations: 4 kB / 1.319 GB, free: 6.312 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.4128, allocations: 3.938 kB / 1.319 GB, free: 6.309 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.093e-05/0.4129, allocations: 8 kB / 1.319 GB, free: 6.301 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-06/0.4129, allocations: 0 / 1.319 GB, free: 6.301 MB / 1.014 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.641e-05/0.4129, allocations: 118.4 kB / 1.319 GB, free: 6.176 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.413, allocations: 11.91 kB / 1.319 GB, free: 6.164 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.484e-05/0.413, allocations: 19.75 kB / 1.319 GB, free: 6.141 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.413, allocations: 0 / 1.319 GB, free: 6.141 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.413, allocations: 0 / 1.319 GB, free: 6.141 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.413, allocations: 4 kB / 1.319 GB, free: 6.137 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004182/0.4135, allocations: 445.8 kB / 1.32 GB, free: 5.645 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4135, allocations: 0 / 1.32 GB, free: 5.645 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.976e-05/0.4135, allocations: 3.984 kB / 1.32 GB, free: 5.641 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.4135, allocations: 8.062 kB / 1.32 GB, free: 5.633 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.411e-06/0.4135, allocations: 0 / 1.32 GB, free: 5.633 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.4135, allocations: 0 / 1.32 GB, free: 5.633 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4135, allocations: 0 / 1.32 GB, free: 5.633 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/0.4136, allocations: 77.83 kB / 1.32 GB, free: 5.535 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.82e-05/0.4136, allocations: 15.94 kB / 1.32 GB, free: 5.52 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.4136, allocations: 4 kB / 1.32 GB, free: 5.516 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.022e-05/0.4137, allocations: 4.031 kB / 1.32 GB, free: 5.512 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.4137, allocations: 0 / 1.32 GB, free: 5.512 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.4137, allocations: 0 / 1.32 GB, free: 5.512 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.762e-05/0.4138, allocations: 121.3 kB / 1.32 GB, free: 5.395 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4138, allocations: 0 / 1.32 GB, free: 5.395 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001929/0.414, allocations: 8 kB / 1.32 GB, free: 5.387 MB / 1.014 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.0001026/0.4141, allocations: 95.25 kB / 1.32 GB, free: 5.285 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.202e-05/0.4142, allocations: 23.92 kB / 1.32 GB, free: 5.262 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4142, allocations: 0 / 1.32 GB, free: 5.262 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.188e-05/0.4142, allocations: 8 kB / 1.32 GB, free: 5.254 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.4143, allocations: 19.78 kB / 1.32 GB, free: 5.234 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003457/0.4147, allocations: 158.6 kB / 1.32 GB, free: 5.043 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.415, allocations: 0.7004 MB / 1.321 GB, free: 4.316 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.148e-05/0.415, allocations: 8.422 kB / 1.321 GB, free: 4.309 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.4151, allocations: 15.38 kB / 1.321 GB, free: 4.293 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/0.4151, allocations: 0 / 1.321 GB, free: 4.293 MB / 1.014 GB Notification: Performance of Templates: time 0.002919/0.418, allocations: 484.5 kB / 1.321 GB, free: 3.82 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.106806281022727]