Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001904, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.002344/0.002344, allocations: 203.4 kB / 22.18 MB, free: 5.207 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.493/1.493, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.843/2.843, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 67.91 kB / 1.109 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128/1.13, allocations: 168.7 MB / 1.274 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002317/1.132, allocations: 0.846 MB / 1.275 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001261/1.132, allocations: 39.78 kB / 1.275 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.602e-05/1.132, allocations: 4 kB / 1.275 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.615e-05/1.132, allocations: 7.875 kB / 1.275 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/1.132, allocations: 11.86 kB / 1.275 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.92e-05/1.133, allocations: 23.98 kB / 1.275 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001356/1.133, allocations: 59.84 kB / 1.275 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/1.133, allocations: 35.92 kB / 1.275 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.975e-05/1.133, allocations: 23.86 kB / 1.275 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.739e-05/1.133, allocations: 27.86 kB / 1.275 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/1.133, allocations: 8 kB / 1.275 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.721e-05/1.133, allocations: 8 kB / 1.275 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.297e-05/1.133, allocations: 15.86 kB / 1.275 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.909e-05/1.133, allocations: 35.8 kB / 1.275 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/1.133, allocations: 74.31 kB / 1.275 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/1.133, allocations: 4 kB / 1.275 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.553e-06/1.133, allocations: 3.938 kB / 1.275 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.481e-06/1.133, allocations: 0 / 1.275 GB, free: 3.195 MB / 0.9669 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.0005078/1.134, allocations: 375.2 kB / 1.276 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/1.134, allocations: 12.03 kB / 1.276 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.233e-05/1.134, allocations: 16.83 kB / 1.276 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/1.134, allocations: 188.2 kB / 1.276 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/1.134, allocations: 8.375 kB / 1.276 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/1.134, allocations: 8.375 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/1.134, allocations: 93.67 kB / 1.276 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/1.134, allocations: 4.125 kB / 1.276 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/1.134, allocations: 3.938 kB / 1.276 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/1.134, allocations: 4 kB / 1.276 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.003e-05/1.134, allocations: 39.97 kB / 1.276 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006206/1.135, allocations: 436.8 kB / 1.276 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.706e-05/1.135, allocations: 45.2 kB / 1.276 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.56e-05/1.135, allocations: 21.72 kB / 1.276 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.193e-06/1.135, allocations: 0 / 1.276 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/1.135, allocations: 38.5 kB / 1.276 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/1.135, allocations: 0 / 1.276 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001902/1.135, allocations: 57.58 kB / 1.277 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.173e-05/1.136, allocations: 81.05 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/1.136, allocations: 161.9 kB / 1.277 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/1.136, allocations: 29.64 kB / 1.277 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.515e-05/1.136, allocations: 104 kB / 1.277 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/1.136, allocations: 8.203 kB / 1.277 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/1.136, allocations: 21.67 kB / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001605/1.136, allocations: 322.8 kB / 1.277 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.022e-05/1.136, allocations: 8 kB / 1.277 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.596e-05/1.136, allocations: 13.72 kB / 1.277 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.727e-05/1.136, allocations: 29.7 kB / 1.277 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.136, allocations: 4 kB / 1.277 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.323e-05/1.136, allocations: 53.59 kB / 1.277 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/1.136, allocations: 11.94 kB / 1.277 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/1.136, allocations: 3.938 kB / 1.277 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/1.136, allocations: 0 / 1.277 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.912e-05/1.136, allocations: 15.98 kB / 1.277 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/1.136, allocations: 0 / 1.277 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.697e-05/1.136, allocations: 7.875 kB / 1.277 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/1.136, allocations: 4 kB / 1.277 GB, free: 0.7461 MB / 0.9669 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 0.000108/1.136, allocations: 120 kB / 1.277 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/1.137, allocations: 7.953 kB / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/1.137, allocations: 11.81 kB / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/1.137, allocations: 7.984 kB / 1.278 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.137, allocations: 0 / 1.278 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/1.137, allocations: 0 / 1.278 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/1.137, allocations: 478.8 kB / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/1.137, allocations: 0 / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.097e-05/1.137, allocations: 4 kB / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/1.137, allocations: 0 / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/1.137, allocations: 0 / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.137, allocations: 0 / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.137, allocations: 4 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/1.137, allocations: 86.05 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-05/1.137, allocations: 85.06 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/1.137, allocations: 4 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.013e-05/1.137, allocations: 0 / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/1.137, allocations: 3.984 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/1.137, allocations: 4 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001105/1.137, allocations: 115.2 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.137, allocations: 0 / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001934/1.138, allocations: 8 kB / 1.278 GB, free: 15.71 MB / 0.9825 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.0001415/1.138, allocations: 103.3 kB / 1.278 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001044/1.138, allocations: 15.94 kB / 1.278 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.138, allocations: 0 / 1.278 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.458e-05/1.138, allocations: 11.94 kB / 1.278 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/1.138, allocations: 11.94 kB / 1.278 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00037/1.138, allocations: 170.8 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/1.139, allocations: 0.6924 MB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.243e-05/1.139, allocations: 12.36 kB / 1.279 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/1.139, allocations: 11.44 kB / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/1.139, allocations: 0 / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of Templates: time 0.003064/1.142, allocations: 482.2 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.288688878994435]