Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.0007537/0.0007537, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008273/0.0008273, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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.8764/0.8764, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.732/1.732, allocations: 389.1 MB / 0.6338 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.214e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001257/0.001279, allocations: 0.7984 MB / 1.002 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 9.964e-05/0.001379, allocations: 43.78 kB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.513e-05/0.001424, allocations: 4 kB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.195e-05/0.001456, allocations: 7.875 kB / 1.002 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.368e-05/0.00153, allocations: 3.938 kB / 1.002 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.822e-05/0.001568, allocations: 19.97 kB / 1.002 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.502e-05/0.001663, allocations: 71.77 kB / 1.002 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.001785, allocations: 23.98 kB / 1.002 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.825e-05/0.001853, allocations: 39.89 kB / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.241e-05/0.001906, allocations: 15.92 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.001931, allocations: 8 kB / 1.002 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.652e-06/0.001938, allocations: 4 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.001959, allocations: 23.91 kB / 1.002 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.001984, allocations: 15.88 kB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.344e-05/0.002077, allocations: 75.69 kB / 1.002 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.00208, allocations: 0 / 1.002 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.91e-07/0.002081, allocations: 0 / 1.002 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.002084, allocations: 4 kB / 1.002 GB, free: 11.85 MB / 0.9636 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.000347/0.002431, allocations: 306 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.002474, allocations: 12.75 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.002504, allocations: 8.891 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.002662, allocations: 133.6 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.002672, allocations: 8.312 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.002684, allocations: 8.375 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.002802, allocations: 91.86 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.00281, allocations: 192 / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.00282, allocations: 4.375 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.002826, allocations: 8.375 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.985e-05/0.002886, allocations: 43.86 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006493/0.003536, allocations: 352.4 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.913e-05/0.003585, allocations: 45.33 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.805e-05/0.003613, allocations: 17.77 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-06/0.003619, allocations: 4 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.003639, allocations: 34.56 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.00364, allocations: 0 / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001344/0.003775, allocations: 53.59 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.003808, allocations: 77.11 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.144e-05/0.003889, allocations: 133.3 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.003897, allocations: 29.64 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.003951, allocations: 115.9 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.141e-06/0.003957, allocations: 7.891 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.003984, allocations: 17.72 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.537e-05/0.004059, allocations: 314.8 kB / 1.004 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.472e-05/0.004074, allocations: 8 kB / 1.004 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.601e-05/0.00409, allocations: 17.97 kB / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.364e-05/0.004123, allocations: 33.7 kB / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.004125, allocations: 0 / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.382e-05/0.004179, allocations: 53.59 kB / 1.004 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.004192, allocations: 4 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.004198, allocations: 4 kB / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.00421, allocations: 0 / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.229e-05/0.004262, allocations: 7.984 kB / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.004267, allocations: 3.938 kB / 1.004 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.545e-05/0.004283, allocations: 12.06 kB / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-06/0.004287, allocations: 0 / 1.004 GB, free: 9.707 MB / 0.9636 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.533e-05/0.004343, allocations: 113.8 kB / 1.004 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.004364, allocations: 7.953 kB / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/0.004383, allocations: 7.406 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.004385, allocations: 3.938 kB / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.004389, allocations: 4 kB / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.004394, allocations: 7.922 kB / 1.004 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.004623, allocations: 410.4 kB / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.004624, allocations: 4.062 kB / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.003e-05/0.004634, allocations: 7.984 kB / 1.004 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.004636, allocations: 0 / 1.004 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.004642, allocations: 3.938 kB / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.004644, allocations: 4 kB / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.004645, allocations: 0 / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.981e-05/0.004695, allocations: 70.73 kB / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.49e-05/0.004709, allocations: 15.98 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.004719, allocations: 3.938 kB / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.875e-06/0.004727, allocations: 4 kB / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.00474, allocations: 7.969 kB / 1.005 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.72e-07/0.004741, allocations: 0 / 1.005 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.935e-05/0.00478, allocations: 99.27 kB / 1.005 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.00478, allocations: 4 kB / 1.005 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001217/0.004902, allocations: 7.953 kB / 1.005 GB, free: 8.855 MB / 0.9636 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 6.872e-05/0.004971, allocations: 95.25 kB / 1.005 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.522e-05/0.005036, allocations: 15.98 kB / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.005038, allocations: 4 kB / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.991e-06/0.005044, allocations: 12 kB / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001075/0.005152, allocations: 11.48 kB / 1.005 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002517/0.005403, allocations: 188.2 kB / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.829e-05/0.005452, allocations: 75.33 kB / 1.005 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.359e-05/0.005475, allocations: 12.5 kB / 1.005 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of SimCode: time 4.11e-07/0.005476, allocations: 0 / 1.005 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of Templates: time 0.00141/0.006886, allocations: 0.8016 MB / 1.006 GB, free: 7.578 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 6.466461461037397]