Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.001608/0.001608, allocations: 108.3 kB / 19.7 MB, free: 2.16 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.002044/0.002044, allocations: 215.9 kB / 22.99 MB, free: 4.988 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.576/1.576, allocations: 230.6 MB / 256.8 MB, free: 7.809 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 3.355/3.355, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [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.002101/0.002101, allocations: 74.77 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3844, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.00279/0.3872, allocations: 0.8046 MB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001483/0.3874, allocations: 39.78 kB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.824e-05/0.3874, allocations: 0 / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.012e-05/0.3875, allocations: 7.938 kB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.3876, allocations: 11.88 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.273e-05/0.3877, allocations: 19.98 kB / 1.328 GB, free: 144 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.3878, allocations: 67.77 kB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.3879, allocations: 31.98 kB / 1.328 GB, free: 44 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.408e-05/0.388, allocations: 27.86 kB / 1.328 GB, free: 16 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.605e-05/0.3881, allocations: 31.78 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.3881, allocations: 8 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.3881, allocations: 4 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.486e-05/0.3882, allocations: 15.98 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.544e-05/0.3882, allocations: 23.81 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.3883, allocations: 83.5 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3883, allocations: 0 / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.585e-06/0.3883, allocations: 4 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.3884, allocations: 4 kB / 1.328 GB, free: 15.84 MB / 1.029 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.0004813/0.3888, allocations: 302 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3889, allocations: 8.031 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.3889, allocations: 8.891 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.3891, allocations: 142.3 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.3891, allocations: 4.375 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.3892, allocations: 8.375 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.3893, allocations: 93.72 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3894, allocations: 192 / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.3894, allocations: 15.94 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3894, allocations: 3.938 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.412e-05/0.3895, allocations: 39.92 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005036/0.39, allocations: 352.4 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.98e-05/0.39, allocations: 41.19 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.504e-05/0.3901, allocations: 17.84 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.3901, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.3901, allocations: 34.56 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.3901, allocations: 4 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001916/0.3903, allocations: 57.52 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.3904, allocations: 81.11 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.3905, allocations: 125.8 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.3905, allocations: 25.7 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/0.3906, allocations: 115.9 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.516e-06/0.3906, allocations: 3.953 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.3906, allocations: 17.72 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3908, allocations: 318.8 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.993e-05/0.3908, allocations: 8.25 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.315e-05/0.3908, allocations: 25.66 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.727e-05/0.3909, allocations: 21.72 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3909, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.321e-05/0.391, allocations: 57.58 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.391, allocations: 8 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.391, allocations: 4 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.391, allocations: 3.938 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.413e-05/0.3911, allocations: 8 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.3911, allocations: 8.062 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.303e-05/0.3911, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.3911, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 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.0001036/0.3912, allocations: 121.8 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.3912, allocations: 7.953 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.704e-05/0.3913, allocations: 11.41 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3913, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.3913, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3913, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003896/0.3917, allocations: 414.5 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3917, allocations: 3.938 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.086e-05/0.3917, allocations: 7.938 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3917, allocations: 0 / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.3917, allocations: 3.938 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3917, allocations: 4 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3917, allocations: 3.938 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.969e-05/0.3918, allocations: 77.94 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.3918, allocations: 11.89 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.3919, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.686e-05/0.3919, allocations: 64 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.3919, allocations: 8.078 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.3919, allocations: 4 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.355e-05/0.392, allocations: 99.27 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.392, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001896/0.3922, allocations: 8 kB / 1.331 GB, free: 12.85 MB / 1.029 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.000144/0.3923, allocations: 107.2 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.3924, allocations: 12 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3924, allocations: 0 / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.734e-05/0.3924, allocations: 20.05 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.3926, allocations: 8.797 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/0.393, allocations: 154.8 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.227e-05/0.3931, allocations: 83.12 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.13e-05/0.3931, allocations: 3.984 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.3932, allocations: 15.56 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.3932, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of Templates: time 0.003299/0.3965, allocations: 387.8 kB / 1.332 GB, free: 12.01 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.254774412009283]