Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001394/0.001394, allocations: 115.7 kB / 17.13 MB, free: 6.008 MB / 14.72 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.001559/0.001559, allocations: 211.2 kB / 20.1 MB, free: 3.055 MB / 14.72 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 1.491/1.491, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.951/2.951, allocations: 0.49 GB / 0.7923 GB, free: 1.254 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 71.91 kB / 1.15 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.127/1.129, allocations: 176.1 MB / 1.322 GB, free: 24.99 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001888/1.131, allocations: 0.8327 MB / 1.323 GB, free: 24.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 9.055e-05/1.131, allocations: 36.33 kB / 1.323 GB, free: 24.42 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/1.131, allocations: 0 / 1.323 GB, free: 24.42 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.201e-05/1.132, allocations: 13.45 kB / 1.323 GB, free: 24.41 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.418e-05/1.132, allocations: 7.922 kB / 1.323 GB, free: 24.41 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.441e-05/1.132, allocations: 24.78 kB / 1.323 GB, free: 24.39 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/1.132, allocations: 68.05 kB / 1.323 GB, free: 24.36 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/1.132, allocations: 29.62 kB / 1.323 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.125e-05/1.132, allocations: 25.42 kB / 1.323 GB, free: 24.33 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.557e-05/1.132, allocations: 34.95 kB / 1.323 GB, free: 24.3 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/1.132, allocations: 4.688 kB / 1.323 GB, free: 24.3 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-06/1.132, allocations: 5.344 kB / 1.323 GB, free: 24.3 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/1.132, allocations: 16.22 kB / 1.323 GB, free: 24.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/1.132, allocations: 29.38 kB / 1.323 GB, free: 24.27 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/1.132, allocations: 82.09 kB / 1.323 GB, free: 24.24 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/1.132, allocations: 0 / 1.323 GB, free: 24.24 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.012e-06/1.132, allocations: 4 kB / 1.323 GB, free: 24.23 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.969e-06/1.132, allocations: 0 / 1.323 GB, free: 24.23 MB / 1.061 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.0003398/1.133, allocations: 380.2 kB / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/1.133, allocations: 16.03 kB / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/1.133, allocations: 10.89 kB / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/1.133, allocations: 192.4 kB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/1.133, allocations: 7.281 kB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/1.133, allocations: 6.312 kB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/1.133, allocations: 96.84 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/1.133, allocations: 192 / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/1.133, allocations: 3.938 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.133, allocations: 2.75 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.515e-05/1.133, allocations: 40.89 kB / 1.324 GB, free: 23.53 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/1.133, allocations: 437 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.806e-05/1.133, allocations: 49.5 kB / 1.324 GB, free: 23.06 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.142e-05/1.133, allocations: 22.84 kB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.184e-06/1.133, allocations: 0 / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/1.134, allocations: 30.56 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/1.134, allocations: 4 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001604/1.134, allocations: 62.86 kB / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/1.134, allocations: 77.11 kB / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/1.134, allocations: 163 kB / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.732e-06/1.134, allocations: 25.7 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.145e-05/1.134, allocations: 104.9 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-06/1.134, allocations: 3.953 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/1.134, allocations: 26.56 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.807e-05/1.134, allocations: 321.6 kB / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.647e-05/1.134, allocations: 6.188 kB / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.625e-05/1.134, allocations: 23.44 kB / 1.325 GB, free: 22.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.085e-05/1.134, allocations: 26.25 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/1.134, allocations: 0 / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.949e-05/1.134, allocations: 61.56 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/1.134, allocations: 5.781 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.134, allocations: 3.938 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/1.134, allocations: 2.969 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.092e-05/1.134, allocations: 2.969 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/1.134, allocations: 6.266 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.935e-05/1.134, allocations: 11.89 kB / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/1.134, allocations: 2.75 kB / 1.325 GB, free: 22.14 MB / 1.061 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 4.858e-05/1.134, allocations: 116.7 kB / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/1.134, allocations: 9.734 kB / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.379e-05/1.134, allocations: 14.59 kB / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/1.134, allocations: 0 / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.134, allocations: 7.219 kB / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/1.134, allocations: 3.031 kB / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/1.135, allocations: 463.7 kB / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/1.135, allocations: 4.062 kB / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.69e-05/1.135, allocations: 10.23 kB / 1.326 GB, free: 21.51 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/1.135, allocations: 0 / 1.326 GB, free: 21.51 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-06/1.135, allocations: 3.938 kB / 1.326 GB, free: 21.51 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.135, allocations: 2.812 kB / 1.326 GB, free: 21.51 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/1.135, allocations: 0 / 1.326 GB, free: 21.51 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.591e-05/1.135, allocations: 80.75 kB / 1.326 GB, free: 21.42 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.057e-05/1.135, allocations: 88.03 kB / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/1.135, allocations: 7 kB / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.994e-05/1.135, allocations: 0 / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/1.135, allocations: 3.375 kB / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/1.135, allocations: 2.906 kB / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.891e-05/1.135, allocations: 123.2 kB / 1.326 GB, free: 21.23 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.135, allocations: 0 / 1.326 GB, free: 21.23 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000187/1.135, allocations: 8.781 kB / 1.326 GB, free: 21.23 MB / 1.061 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.0001046/1.135, allocations: 98.19 kB / 1.326 GB, free: 21.14 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.715e-05/1.135, allocations: 17.14 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.135, allocations: 0 / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.001e-05/1.135, allocations: 12.66 kB / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/1.135, allocations: 12.22 kB / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/1.136, allocations: 188.8 kB / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/1.136, allocations: 0.6966 MB / 1.327 GB, free: 20.23 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/1.136, allocations: 10.75 kB / 1.327 GB, free: 20.23 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/1.136, allocations: 3.938 kB / 1.327 GB, free: 20.22 MB / 1.061 GB Notification: Performance of Templates: time 0.002147/1.138, allocations: 0.8678 MB / 1.328 GB, free: 20.15 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.485233778003021]