Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.001363/0.001363, allocations: 107.7 kB / 18.88 MB, free: 3.051 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.002127/0.002127, allocations: 198.4 kB / 22.17 MB, free: 5.203 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.451/1.451, 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.787/2.787, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] 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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 71.89 kB / 1.109 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8842/0.8861, allocations: 168.7 MB / 1.274 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002139/0.8883, allocations: 0.8353 MB / 1.275 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000117/0.8884, allocations: 43.78 kB / 1.275 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.237e-05/0.8884, allocations: 4 kB / 1.275 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.805e-05/0.8885, allocations: 11.86 kB / 1.275 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.626e-05/0.8886, allocations: 3.938 kB / 1.275 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.721e-05/0.8886, allocations: 19.98 kB / 1.275 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.8888, allocations: 63.78 kB / 1.275 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.8889, allocations: 31.92 kB / 1.275 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.752e-05/0.889, allocations: 27.86 kB / 1.275 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.909e-05/0.889, allocations: 31.84 kB / 1.275 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.8891, allocations: 8 kB / 1.275 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.458e-05/0.8891, allocations: 4 kB / 1.275 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.595e-05/0.8891, allocations: 15.94 kB / 1.275 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.622e-05/0.8892, allocations: 35.8 kB / 1.275 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.8893, allocations: 78.19 kB / 1.275 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8893, allocations: 0 / 1.275 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.464e-06/0.8893, allocations: 0 / 1.275 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.8893, allocations: 0 / 1.275 GB, free: 3.332 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.0005515/0.8899, allocations: 379.1 kB / 1.276 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.8899, allocations: 12.03 kB / 1.276 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.874e-05/0.8899, allocations: 16.84 kB / 1.276 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.8902, allocations: 192.2 kB / 1.276 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.8902, allocations: 4.375 kB / 1.276 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.8902, allocations: 8.375 kB / 1.276 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.8904, allocations: 93.5 kB / 1.276 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.8904, allocations: 192 / 1.276 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.8904, allocations: 7.938 kB / 1.276 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.8905, allocations: 4 kB / 1.276 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.836e-05/0.8905, allocations: 39.92 kB / 1.276 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000648/0.8912, allocations: 428.8 kB / 1.276 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.356e-05/0.8913, allocations: 45.19 kB / 1.276 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.403e-05/0.8913, allocations: 25.83 kB / 1.276 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.8913, allocations: 0 / 1.276 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.8914, allocations: 30.56 kB / 1.276 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.8914, allocations: 0 / 1.276 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002015/0.8916, allocations: 57.53 kB / 1.277 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/0.8916, allocations: 85.36 kB / 1.277 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.8918, allocations: 155.3 kB / 1.277 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.8918, allocations: 33.64 kB / 1.277 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.248e-05/0.8919, allocations: 108 kB / 1.277 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.967e-06/0.8919, allocations: 3.953 kB / 1.277 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.892, allocations: 25.66 kB / 1.277 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.8921, allocations: 318.8 kB / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.8921, allocations: 0 / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.414e-05/0.8922, allocations: 33.64 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.284e-05/0.8922, allocations: 21.72 kB / 1.277 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8922, allocations: 3.938 kB / 1.277 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.718e-05/0.8923, allocations: 61.58 kB / 1.277 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.8924, allocations: 8 kB / 1.277 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.8924, allocations: 7.938 kB / 1.277 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.8924, allocations: 64 / 1.277 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.058e-05/0.8925, allocations: 8 kB / 1.277 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.8925, allocations: 4 kB / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.997e-05/0.8925, allocations: 3.938 kB / 1.277 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.8925, allocations: 0 / 1.277 GB, free: 0.8867 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.0001105/0.8926, allocations: 114.4 kB / 1.277 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.8927, allocations: 7.953 kB / 1.277 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.8927, allocations: 19.8 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.8927, allocations: 96 / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.8927, allocations: 4 kB / 1.278 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.8927, allocations: 7.984 kB / 1.278 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004657/0.8932, allocations: 470.7 kB / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8932, allocations: 0 / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.215e-05/0.8932, allocations: 7.938 kB / 1.278 GB, free: 204 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.8932, allocations: 0 / 1.278 GB, free: 204 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.8932, allocations: 0 / 1.278 GB, free: 204 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.8932, allocations: 0 / 1.278 GB, free: 204 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8932, allocations: 4.062 kB / 1.278 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.845e-05/0.8933, allocations: 81.88 kB / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.293e-05/0.8934, allocations: 89.05 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.8934, allocations: 0 / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.03e-05/0.8934, allocations: 4 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.13e-05/0.8934, allocations: 0 / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.8934, allocations: 4.031 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000103/0.8935, allocations: 125.1 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.8935, allocations: 0 / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001869/0.8937, allocations: 8 kB / 1.278 GB, free: 15.85 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.0001476/0.8939, allocations: 99.19 kB / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.894, allocations: 19.98 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.894, allocations: 0 / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.298e-05/0.894, allocations: 16 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.8942, allocations: 11.94 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/0.8945, allocations: 170.5 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.8949, allocations: 0.6963 MB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.327e-05/0.8949, allocations: 8.562 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.895, allocations: 11.44 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.895, allocations: 0 / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of Templates: time 0.003143/0.8981, allocations: 474.6 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.771487552206963]