Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001685/0.001685, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001879/0.001879, allocations: 193.6 kB / 22.17 MB, free: 5.656 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: 225.6 MB / 250.9 MB, free: 13.29 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.842/2.842, allocations: 476.7 MB / 0.7645 GB, free: 10.12 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.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 63.91 kB / 1.109 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9217/0.9238, allocations: 168.7 MB / 1.274 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002212/0.926, allocations: 0.8354 MB / 1.275 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001235/0.9261, allocations: 39.73 kB / 1.275 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.3e-05/0.9262, allocations: 4 kB / 1.275 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.557e-05/0.9262, allocations: 11.86 kB / 1.275 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.66e-05/0.9263, allocations: 15.86 kB / 1.275 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.495e-05/0.9264, allocations: 15.98 kB / 1.275 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.9265, allocations: 67.83 kB / 1.275 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.9267, allocations: 27.94 kB / 1.275 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.46e-05/0.9268, allocations: 27.92 kB / 1.275 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.257e-05/0.9268, allocations: 31.73 kB / 1.275 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.9269, allocations: 8 kB / 1.275 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.375e-05/0.9269, allocations: 8 kB / 1.275 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.9269, allocations: 15.92 kB / 1.275 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.118e-05/0.9269, allocations: 27.81 kB / 1.275 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.9271, allocations: 78.3 kB / 1.275 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.9271, allocations: 0 / 1.275 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9271, allocations: 0 / 1.275 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.9271, allocations: 0 / 1.275 GB, free: 3.227 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.0005379/0.9276, allocations: 379.2 kB / 1.276 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.9277, allocations: 12.03 kB / 1.276 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.9277, allocations: 16.78 kB / 1.276 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.928, allocations: 196.1 kB / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.928, allocations: 8.375 kB / 1.276 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.928, allocations: 8.375 kB / 1.276 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.9282, allocations: 93.61 kB / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.9282, allocations: 4.188 kB / 1.276 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.9282, allocations: 7.938 kB / 1.276 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.9282, allocations: 4 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.726e-05/0.9283, allocations: 31.98 kB / 1.276 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006524/0.929, allocations: 444.7 kB / 1.276 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.856e-05/0.929, allocations: 41.28 kB / 1.276 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.931e-05/0.9291, allocations: 17.72 kB / 1.276 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.9291, allocations: 0 / 1.276 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/0.9291, allocations: 34.59 kB / 1.276 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.9291, allocations: 0 / 1.276 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001905/0.9293, allocations: 65.52 kB / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.9294, allocations: 77.11 kB / 1.277 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.9296, allocations: 158.2 kB / 1.277 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.9296, allocations: 25.7 kB / 1.277 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.883e-05/0.9297, allocations: 104 kB / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.225e-05/0.9297, allocations: 7.938 kB / 1.277 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.9297, allocations: 17.67 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.9299, allocations: 327.1 kB / 1.277 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.124e-05/0.9299, allocations: 8 kB / 1.277 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.646e-05/0.9299, allocations: 17.7 kB / 1.277 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.803e-05/0.93, allocations: 29.66 kB / 1.277 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.93, allocations: 0 / 1.277 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.92e-05/0.9301, allocations: 57.64 kB / 1.277 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.9301, allocations: 8.062 kB / 1.277 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.9301, allocations: 3.938 kB / 1.277 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.9301, allocations: 0 / 1.277 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.512e-05/0.9302, allocations: 11.94 kB / 1.277 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.9302, allocations: 0 / 1.277 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.283e-05/0.9302, allocations: 7.938 kB / 1.277 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.9302, allocations: 7.938 kB / 1.277 GB, free: 0.7734 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 9.108e-05/0.9303, allocations: 118.4 kB / 1.277 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.714e-05/0.9304, allocations: 7.953 kB / 1.277 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.135e-05/0.9304, allocations: 11.81 kB / 1.278 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.9304, allocations: 4 kB / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.9304, allocations: 0 / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.9304, allocations: 3.938 kB / 1.278 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.9309, allocations: 474.7 kB / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.9309, allocations: 0 / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.351e-05/0.9309, allocations: 11.98 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.9309, allocations: 64 / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.9309, allocations: 4 kB / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.9309, allocations: 0 / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.9309, allocations: 4 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.931, allocations: 77.83 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.451e-05/0.9311, allocations: 93.05 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.9311, allocations: 0 / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.105e-05/0.9311, allocations: 4.031 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.035e-05/0.9311, allocations: 0 / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.9311, allocations: 4 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.397e-05/0.9312, allocations: 117.9 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9312, allocations: 4 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001853/0.9314, allocations: 8 kB / 1.278 GB, free: 15.74 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.0001363/0.9316, allocations: 103.2 kB / 1.278 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.52e-05/0.9316, allocations: 19.94 kB / 1.278 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.9317, allocations: 0 / 1.278 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.075e-05/0.9317, allocations: 4 kB / 1.278 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.9318, allocations: 11.94 kB / 1.278 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.9322, allocations: 174.6 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.9325, allocations: 0.6965 MB / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.838e-05/0.9326, allocations: 8.422 kB / 1.279 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.706e-05/0.9326, allocations: 15.38 kB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.9326, allocations: 0 / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of Templates: time 0.00296/0.9355, allocations: 474 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.87808042485267]