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.001904/0.001903, allocations: 110.4 kB / 17.08 MB, free: 5.82 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.002205/0.002205, allocations: 193.2 kB / 20.03 MB, free: 2.949 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.468/1.468, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.056/3.056, allocations: 489.3 MB / 0.7687 GB, free: 3.898 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.002006/0.002006, allocations: 67.89 kB / 1.103 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.154/1.156, allocations: 163.8 MB / 1.263 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002231/1.158, allocations: 0.8305 MB / 1.263 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001228/1.158, allocations: 44.3 kB / 1.263 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.014e-05/1.158, allocations: 1.406 kB / 1.263 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.519e-05/1.158, allocations: 9.844 kB / 1.263 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.341e-05/1.159, allocations: 14.19 kB / 1.263 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.109e-05/1.159, allocations: 20.23 kB / 1.263 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/1.159, allocations: 59.91 kB / 1.264 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/1.159, allocations: 41.11 kB / 1.264 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.237e-05/1.159, allocations: 27.08 kB / 1.264 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.585e-05/1.159, allocations: 34.31 kB / 1.264 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/1.159, allocations: 5.719 kB / 1.264 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.524e-05/1.159, allocations: 5.875 kB / 1.264 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/1.159, allocations: 20.91 kB / 1.264 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/1.159, allocations: 32.16 kB / 1.264 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/1.159, allocations: 77.33 kB / 1.264 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.159, allocations: 1.344 kB / 1.264 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.353e-06/1.159, allocations: 0 / 1.264 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.791e-06/1.159, allocations: 0.8125 kB / 1.264 GB, free: 7.254 MB / 0.9981 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.0004072/1.16, allocations: 379.7 kB / 1.264 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.16, allocations: 10.62 kB / 1.264 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/1.16, allocations: 9.203 kB / 1.264 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/1.16, allocations: 200 kB / 1.264 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/1.16, allocations: 3.719 kB / 1.264 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/1.16, allocations: 10.33 kB / 1.264 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/1.16, allocations: 97.69 kB / 1.264 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/1.16, allocations: 1.125 kB / 1.264 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/1.16, allocations: 4.75 kB / 1.264 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/1.16, allocations: 5.469 kB / 1.264 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.136e-05/1.16, allocations: 36.23 kB / 1.264 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000514/1.161, allocations: 439 kB / 1.265 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.238e-05/1.161, allocations: 45.36 kB / 1.265 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.847e-05/1.161, allocations: 16.52 kB / 1.265 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.143e-06/1.161, allocations: 4.781 kB / 1.265 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/1.161, allocations: 40.92 kB / 1.265 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/1.161, allocations: 0 / 1.265 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001777/1.161, allocations: 56.75 kB / 1.265 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/1.161, allocations: 78.08 kB / 1.265 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/1.161, allocations: 161.2 kB / 1.265 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.812e-06/1.161, allocations: 29.7 kB / 1.265 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/1.162, allocations: 111.4 kB / 1.265 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.428e-06/1.162, allocations: 6.062 kB / 1.265 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/1.162, allocations: 17.88 kB / 1.265 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.425e-05/1.162, allocations: 319.8 kB / 1.266 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.926e-05/1.162, allocations: 8.031 kB / 1.266 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.211e-05/1.162, allocations: 20.52 kB / 1.266 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.307e-05/1.162, allocations: 31.47 kB / 1.266 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/1.162, allocations: 0 / 1.266 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.65e-05/1.162, allocations: 57.2 kB / 1.266 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/1.162, allocations: 5.656 kB / 1.266 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/1.162, allocations: 5.344 kB / 1.266 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/1.162, allocations: 0.8438 kB / 1.266 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.286e-05/1.162, allocations: 9.672 kB / 1.266 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/1.162, allocations: 1.641 kB / 1.266 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.121e-05/1.162, allocations: 14.3 kB / 1.266 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/1.162, allocations: 1.625 kB / 1.266 GB, free: 5.156 MB / 0.9981 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 5.866e-05/1.162, allocations: 114.3 kB / 1.266 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-05/1.162, allocations: 8.562 kB / 1.266 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.57e-05/1.162, allocations: 15.97 kB / 1.266 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/1.162, allocations: 0.6875 kB / 1.266 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.162, allocations: 1.422 kB / 1.266 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.162, allocations: 0.75 kB / 1.266 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/1.163, allocations: 470.4 kB / 1.266 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.163, allocations: 4.625 kB / 1.266 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.173e-05/1.163, allocations: 7.797 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/1.163, allocations: 1.344 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/1.163, allocations: 5.219 kB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.163, allocations: 0.8438 kB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.163, allocations: 1.453 kB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.721e-05/1.163, allocations: 84.45 kB / 1.267 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/1.163, allocations: 86.12 kB / 1.267 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/1.163, allocations: 2 kB / 1.267 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.946e-05/1.163, allocations: 0.7812 kB / 1.267 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/1.163, allocations: 5.422 kB / 1.267 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/1.163, allocations: 2.234 kB / 1.267 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.772e-05/1.163, allocations: 124.4 kB / 1.267 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.163, allocations: 0 / 1.267 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001823/1.163, allocations: 7.062 kB / 1.267 GB, free: 4.246 MB / 0.9981 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.0001285/1.163, allocations: 97.83 kB / 1.267 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001011/1.163, allocations: 20.73 kB / 1.267 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.163, allocations: 0 / 1.267 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-05/1.163, allocations: 8.438 kB / 1.267 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/1.164, allocations: 10.98 kB / 1.267 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/1.164, allocations: 189.1 kB / 1.267 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/1.164, allocations: 0.6924 MB / 1.268 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/1.164, allocations: 15.31 kB / 1.268 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/1.164, allocations: 0 / 1.268 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of Templates: time 0.003134/1.167, allocations: 0.8622 MB / 1.269 GB, free: 3.18 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.536235793028027]