Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.001793/0.001793, allocations: 115.5 kB / 17.08 MB, free: 5.988 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.002008/0.002008, allocations: 194.2 kB / 20.03 MB, free: 3.059 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.459/1.459, allocations: 222.9 MB / 245.7 MB, free: 4.207 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/3, allocations: 489.3 MB / 0.7687 GB, free: 3.836 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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 67.89 kB / 1.103 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.127/1.129, allocations: 163.8 MB / 1.263 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002019/1.131, allocations: 0.8261 MB / 1.263 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001121/1.131, allocations: 43.94 kB / 1.263 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.692e-05/1.131, allocations: 3.406 kB / 1.263 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.027e-05/1.131, allocations: 9.281 kB / 1.263 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.047e-05/1.131, allocations: 9.094 kB / 1.263 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.041e-05/1.131, allocations: 16.97 kB / 1.263 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000124/1.132, allocations: 68.27 kB / 1.264 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/1.132, allocations: 37.31 kB / 1.264 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.337e-05/1.132, allocations: 29.53 kB / 1.264 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.671e-05/1.132, allocations: 34.56 kB / 1.264 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.871e-05/1.132, allocations: 5.75 kB / 1.264 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.382e-05/1.132, allocations: 6.875 kB / 1.264 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/1.132, allocations: 15.5 kB / 1.264 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/1.132, allocations: 33.39 kB / 1.264 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/1.132, allocations: 76.86 kB / 1.264 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.132, allocations: 0.8438 kB / 1.264 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.873e-06/1.132, allocations: 0 / 1.264 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.71e-06/1.132, allocations: 0 / 1.264 GB, free: 7.266 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.0003989/1.133, allocations: 386 kB / 1.264 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/1.133, allocations: 10.12 kB / 1.264 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/1.133, allocations: 9.797 kB / 1.264 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/1.133, allocations: 196.7 kB / 1.264 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/1.133, allocations: 7.469 kB / 1.264 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/1.133, allocations: 5.312 kB / 1.264 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/1.133, allocations: 100 kB / 1.264 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/1.133, allocations: 4.188 kB / 1.264 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/1.133, allocations: 9.547 kB / 1.264 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/1.133, allocations: 2.562 kB / 1.264 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.451e-05/1.133, allocations: 39.81 kB / 1.265 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004967/1.134, allocations: 438.4 kB / 1.265 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.974e-05/1.134, allocations: 41.8 kB / 1.265 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.739e-05/1.134, allocations: 20.27 kB / 1.265 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.395e-06/1.134, allocations: 4 kB / 1.265 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/1.134, allocations: 32.59 kB / 1.265 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/1.134, allocations: 0.7812 kB / 1.265 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001697/1.134, allocations: 56.53 kB / 1.265 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/1.134, allocations: 78.75 kB / 1.265 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/1.134, allocations: 160.3 kB / 1.265 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.823e-06/1.134, allocations: 26.61 kB / 1.265 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.503e-05/1.134, allocations: 115.3 kB / 1.265 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.188e-06/1.134, allocations: 6.406 kB / 1.265 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/1.134, allocations: 13.45 kB / 1.265 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.769e-05/1.134, allocations: 320.3 kB / 1.266 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.129e-05/1.134, allocations: 7.922 kB / 1.266 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.163e-05/1.134, allocations: 16.34 kB / 1.266 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.261e-05/1.134, allocations: 34.61 kB / 1.266 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.134, allocations: 0.875 kB / 1.266 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.955e-05/1.135, allocations: 57.77 kB / 1.266 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/1.135, allocations: 4.844 kB / 1.266 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/1.135, allocations: 5.469 kB / 1.266 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/1.135, allocations: 0.8125 kB / 1.266 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.372e-05/1.135, allocations: 5.672 kB / 1.266 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/1.135, allocations: 1.391 kB / 1.266 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.256e-05/1.135, allocations: 18.52 kB / 1.266 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/1.135, allocations: 1.531 kB / 1.266 GB, free: 5.172 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 6.287e-05/1.135, allocations: 114 kB / 1.266 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/1.135, allocations: 8.453 kB / 1.266 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.441e-05/1.135, allocations: 12.72 kB / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/1.135, allocations: 5.094 kB / 1.266 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.135, allocations: 0.6562 kB / 1.266 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/1.135, allocations: 0.8125 kB / 1.266 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/1.135, allocations: 479 kB / 1.266 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.135, allocations: 0 / 1.266 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.989e-05/1.135, allocations: 8.312 kB / 1.267 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/1.135, allocations: 0.7812 kB / 1.267 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/1.135, allocations: 5.281 kB / 1.267 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/1.135, allocations: 0.6875 kB / 1.267 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.135, allocations: 1.234 kB / 1.267 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.347e-05/1.135, allocations: 84.72 kB / 1.267 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-05/1.135, allocations: 90.42 kB / 1.267 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/1.135, allocations: 2.203 kB / 1.267 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.155e-05/1.135, allocations: 4.719 kB / 1.267 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.162e-05/1.135, allocations: 1.234 kB / 1.267 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-06/1.135, allocations: 1.375 kB / 1.267 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.847e-05/1.136, allocations: 121.5 kB / 1.267 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.136, allocations: 4.031 kB / 1.267 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001938/1.136, allocations: 10.91 kB / 1.267 GB, free: 4.25 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.0001261/1.136, allocations: 98.14 kB / 1.267 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.61e-05/1.136, allocations: 20.3 kB / 1.267 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.136, allocations: 0 / 1.267 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.305e-05/1.136, allocations: 5.234 kB / 1.267 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/1.136, allocations: 10.91 kB / 1.267 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000296/1.137, allocations: 198.2 kB / 1.267 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/1.137, allocations: 0.6923 MB / 1.268 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/1.137, allocations: 11.44 kB / 1.268 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/1.137, allocations: 0.9375 kB / 1.268 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of Templates: time 0.00303/1.14, allocations: 0.8686 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.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.33967020502314]