Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.00137/0.00137, allocations: 114.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.00153/0.00153, allocations: 194 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.548/1.548, allocations: 225.6 MB / 250.9 MB, free: 13.31 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.91/2.91, allocations: 476.7 MB / 0.7645 GB, free: 10.12 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.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 68.12 kB / 1.109 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7828/0.7848, allocations: 168.7 MB / 1.274 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.00207/0.7869, allocations: 0.6655 MB / 1.275 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.7879, allocations: 0.8273 MB / 1.276 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.923e-05/0.7879, allocations: 0 / 1.276 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.162e-05/0.788, allocations: 0 / 1.276 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.311e-05/0.788, allocations: 11.92 kB / 1.276 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.7882, allocations: 8 kB / 1.276 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.594e-05/0.7883, allocations: 23.92 kB / 1.276 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.7884, allocations: 3.984 kB / 1.276 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.108e-05/0.7884, allocations: 15.88 kB / 1.276 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.651e-05/0.7885, allocations: 11.98 kB / 1.276 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.7885, allocations: 4 kB / 1.276 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.017e-05/0.7885, allocations: 0 / 1.276 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.7885, allocations: 0 / 1.276 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.313e-05/0.7886, allocations: 15.92 kB / 1.276 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.353e-05/0.7886, allocations: 22.58 kB / 1.276 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.7887, allocations: 4 kB / 1.276 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7887, allocations: 0 / 1.276 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.7887, allocations: 0 / 1.276 GB, free: 2.953 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005053/0.7892, allocations: 335.5 kB / 1.276 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.7892, allocations: 12.03 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.365e-05/0.7892, allocations: 8.875 kB / 1.276 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.7894, allocations: 164.3 kB / 1.276 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.7894, allocations: 4.375 kB / 1.276 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.7894, allocations: 4.375 kB / 1.276 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.7896, allocations: 50.23 kB / 1.276 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.7896, allocations: 192 / 1.276 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.7896, allocations: 3.938 kB / 1.276 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.7896, allocations: 0 / 1.276 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.7898, allocations: 31.97 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/0.7902, allocations: 249 kB / 1.277 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.7903, allocations: 42.44 kB / 1.277 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.208e-05/0.7904, allocations: 20.91 kB / 1.277 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.7904, allocations: 0 / 1.277 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.7905, allocations: 38.55 kB / 1.277 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.7905, allocations: 0 / 1.277 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003644/0.7908, allocations: 85.53 kB / 1.277 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.7909, allocations: 55.39 kB / 1.277 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.549e-05/0.791, allocations: 97.86 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.791, allocations: 29.7 kB / 1.277 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.791, allocations: 88.03 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.791, allocations: 3.953 kB / 1.277 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.7911, allocations: 21.83 kB / 1.277 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.7912, allocations: 314.8 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.176e-05/0.7913, allocations: 11.98 kB / 1.277 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.526e-05/0.7914, allocations: 19.98 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.7915, allocations: 44.88 kB / 1.277 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7915, allocations: 0 / 1.277 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002009/0.7917, allocations: 65.55 kB / 1.277 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.7918, allocations: 11.98 kB / 1.277 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.7918, allocations: 192 / 1.277 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.7918, allocations: 3.938 kB / 1.277 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.029e-05/0.7919, allocations: 4 kB / 1.277 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.7919, allocations: 0 / 1.277 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.433e-05/0.7919, allocations: 20 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.7919, allocations: 4 kB / 1.277 GB, free: 0.918 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 7.844e-05/0.792, allocations: 113.8 kB / 1.278 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.792, allocations: 0 / 1.278 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.7923, allocations: 68.78 kB / 1.278 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.7923, allocations: 3.984 kB / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.7923, allocations: 32 / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.7923, allocations: 7.938 kB / 1.278 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.7924, allocations: 157.6 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.7924, allocations: 0 / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.455e-05/0.7925, allocations: 11.98 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.7925, allocations: 0 / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.7925, allocations: 4 kB / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7925, allocations: 0 / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7925, allocations: 0 / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.7928, allocations: 167.4 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.7928, allocations: 77.11 kB / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.7928, allocations: 4 kB / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.582e-05/0.7929, allocations: 7.922 kB / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.7929, allocations: 8 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.793, allocations: 0 / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.257e-05/0.793, allocations: 83.27 kB / 1.278 GB, free: 124 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.793, allocations: 4.031 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002116/0.7932, allocations: 4 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001365/0.7933, allocations: 99.72 kB / 1.278 GB, free: 8 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002777/0.7936, allocations: 36.03 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.7936, allocations: 0 / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.092e-05/0.7937, allocations: 23.97 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.794, allocations: 7.938 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003318/0.7943, allocations: 130 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.7946, allocations: 0.6806 MB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.003e-05/0.7946, allocations: 0 / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.7947, allocations: 15.44 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.7947, allocations: 0 / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of Templates: time 0.002634/0.7973, allocations: 441.3 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.7650155602023]