Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001251/0.001251, allocations: 116.6 kB / 17.13 MB, free: 5.941 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.001266/0.001266, allocations: 198.2 kB / 20.08 MB, free: 3.008 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.505/1.505, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.64/2.64, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 67.91 kB / 1.057 GB, free: 1.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3913, allocations: 160.7 MB / 1.214 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.003251/0.3945, allocations: 0.8291 MB / 1.215 GB, free: 24 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002122/0.3947, allocations: 43.86 kB / 1.215 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.747e-05/0.3948, allocations: 0 / 1.215 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.895e-05/0.3949, allocations: 11.86 kB / 1.215 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.395, allocations: 7.938 kB / 1.215 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.074e-05/0.3951, allocations: 15.98 kB / 1.215 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.3952, allocations: 63.78 kB / 1.215 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.3954, allocations: 43.86 kB / 1.215 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.728e-05/0.3955, allocations: 27.88 kB / 1.215 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.531e-05/0.3955, allocations: 31.78 kB / 1.215 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.3956, allocations: 8 kB / 1.215 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.143e-05/0.3956, allocations: 4 kB / 1.215 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/0.3956, allocations: 15.94 kB / 1.215 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.954e-05/0.3956, allocations: 31.8 kB / 1.215 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.3958, allocations: 79.52 kB / 1.215 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.3958, allocations: 0 / 1.215 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3958, allocations: 0 / 1.215 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.3958, allocations: 0 / 1.215 GB, free: 15.64 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.000566/0.3964, allocations: 387.1 kB / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.3964, allocations: 8.031 kB / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.3965, allocations: 12.84 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.3968, allocations: 196.2 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.3968, allocations: 8.359 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.3968, allocations: 8.375 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.397, allocations: 83.95 kB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.397, allocations: 4.188 kB / 1.216 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.397, allocations: 11.94 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.397, allocations: 3.938 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.74e-05/0.3971, allocations: 39.92 kB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006832/0.3978, allocations: 432.7 kB / 1.216 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.15e-05/0.3979, allocations: 41.19 kB / 1.216 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.597e-05/0.3979, allocations: 21.83 kB / 1.216 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.367e-06/0.3979, allocations: 4 kB / 1.216 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.398, allocations: 30.56 kB / 1.216 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.398, allocations: 0 / 1.216 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002035/0.3982, allocations: 61.77 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/0.3982, allocations: 89.09 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.3984, allocations: 146.3 kB / 1.217 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.3984, allocations: 29.7 kB / 1.217 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.115e-05/0.3985, allocations: 108 kB / 1.217 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.026e-05/0.3985, allocations: 7.891 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.3986, allocations: 25.66 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.3987, allocations: 314.8 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.998e-05/0.3987, allocations: 15.92 kB / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.183e-05/0.3988, allocations: 25.72 kB / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.677e-05/0.3988, allocations: 21.72 kB / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3988, allocations: 0 / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.971e-05/0.3989, allocations: 61.58 kB / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.3989, allocations: 10.34 kB / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.3989, allocations: 8 kB / 1.217 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.399, allocations: 0 / 1.217 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.896e-05/0.399, allocations: 4 kB / 1.217 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.399, allocations: 0 / 1.217 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.109e-05/0.3991, allocations: 4 kB / 1.217 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.3991, allocations: 0 / 1.217 GB, free: 13.2 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.903e-05/0.3992, allocations: 113.8 kB / 1.217 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.3992, allocations: 7.953 kB / 1.217 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/0.3993, allocations: 19.8 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3993, allocations: 4 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3993, allocations: 0 / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.3993, allocations: 4 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004481/0.3997, allocations: 466.7 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3997, allocations: 7.938 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.286e-05/0.3997, allocations: 3.938 kB / 1.218 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.3997, allocations: 4 kB / 1.218 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.3998, allocations: 4.062 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3998, allocations: 0 / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3998, allocations: 3.984 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.3999, allocations: 77.89 kB / 1.218 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.125e-05/0.3999, allocations: 89.05 kB / 1.218 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.4, allocations: 0 / 1.218 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.374e-05/0.4, allocations: 4 kB / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.325e-05/0.4, allocations: 4.031 kB / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.4, allocations: 0 / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000111/0.4001, allocations: 126.9 kB / 1.218 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.4001, allocations: 0 / 1.218 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001936/0.4003, allocations: 15.88 kB / 1.218 GB, free: 12.15 MB / 0.9669 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.0001412/0.4004, allocations: 95.25 kB / 1.218 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.4005, allocations: 24.05 kB / 1.218 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4005, allocations: 4.062 kB / 1.218 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-05/0.4006, allocations: 7.938 kB / 1.218 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.4007, allocations: 15.88 kB / 1.218 GB, free: 12 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000422/0.4011, allocations: 188.2 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.4015, allocations: 0.693 MB / 1.219 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.4015, allocations: 15.44 kB / 1.219 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of SimCode: time 6.71e-07/0.4015, allocations: 0 / 1.219 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of Templates: time 0.002891/0.4044, allocations: 0.8685 MB / 1.22 GB, free: 10.17 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.490001966012642]