Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.395/1.395, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009917/0.0009919, allocations: 176.3 kB / 327.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.881/1.881, allocations: 205.4 MB / 0.5786 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000825/0.0008253, allocations: 89.98 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003358, allocations: 13.16 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1836, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.001678/0.1853, allocations: 1.43 MB / 0.9029 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004796/0.1858, allocations: 299.9 kB / 0.9032 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.1859, allocations: 0 / 0.9032 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.186, allocations: 19.86 kB / 0.9032 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.678e-05/0.1861, allocations: 19.78 kB / 0.9032 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.1863, allocations: 47.95 kB / 0.9032 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.1864, allocations: 135.6 kB / 0.9034 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.1866, allocations: 49.47 kB / 0.9034 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.066e-05/0.1866, allocations: 39.8 kB / 0.9035 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.89e-05/0.1867, allocations: 47.7 kB / 0.9035 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.1867, allocations: 4 kB / 0.9035 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.55e-05/0.1867, allocations: 4 kB / 0.9035 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.555e-05/0.1868, allocations: 23.84 kB / 0.9035 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.487e-05/0.1868, allocations: 77.31 kB / 0.9036 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.016e-05/0.1869, allocations: 91.78 kB / 0.9037 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1869, allocations: 0 / 0.9037 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1869, allocations: 0 / 0.9037 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.1869, allocations: 0 / 0.9037 GB, free: 61.18 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005318/0.1875, allocations: 455 kB / 0.9041 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1875, allocations: 12.03 kB / 0.9041 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.1876, allocations: 16.75 kB / 0.9042 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.1877, allocations: 220.7 kB / 0.9044 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1878, allocations: 12.38 kB / 0.9044 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.1878, allocations: 16.36 kB / 0.9044 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.188, allocations: 145.5 kB / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.1881, allocations: 192 / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.1881, allocations: 19.92 kB / 0.9046 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1881, allocations: 4 kB / 0.9046 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.1883, allocations: 83.77 kB / 0.9046 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006989/0.189, allocations: 0.7392 MB / 0.9054 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.1892, allocations: 54.55 kB / 0.9054 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.879e-05/0.1893, allocations: 36.84 kB / 0.9054 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.1893, allocations: 4 kB / 0.9054 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002348/0.1895, allocations: 134.9 kB / 0.9056 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.1896, allocations: 0 / 0.9056 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0004342/0.19, allocations: 185.6 kB / 0.9058 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.19, allocations: 128.5 kB / 0.9059 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.1902, allocations: 202.2 kB / 0.9061 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.1902, allocations: 37.7 kB / 0.9061 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.1903, allocations: 116 kB / 0.9062 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.1903, allocations: 31.55 kB / 0.9062 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-06/0.1903, allocations: 0 / 0.9062 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.022e-05/0.1903, allocations: 326.8 kB / 0.9066 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.1905, allocations: 39.97 kB / 0.9066 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.1906, allocations: 127.9 kB / 0.9067 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.1908, allocations: 191.8 kB / 0.9069 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1909, allocations: 4 kB / 0.9069 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003106/0.1912, allocations: 193.4 kB / 0.9071 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1912, allocations: 7.938 kB / 0.9071 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1912, allocations: 4.062 kB / 0.9071 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1912, allocations: 8 kB / 0.9071 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1913, allocations: 39.91 kB / 0.9071 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.1914, allocations: 7.938 kB / 0.9072 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.1915, allocations: 31.92 kB / 0.9072 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1915, allocations: 8 kB / 0.9072 GB, free: 57.22 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,sampleTrigger.y,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.489e-05/0.1916, allocations: 129.8 kB / 0.9073 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.1916, allocations: 15.84 kB / 0.9073 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.926e-05/0.1916, allocations: 21.62 kB / 0.9074 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1917, allocations: 3.938 kB / 0.9074 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1917, allocations: 7.984 kB / 0.9074 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1917, allocations: 0 / 0.9074 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005954/0.1923, allocations: 0.5288 MB / 0.9079 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1923, allocations: 4 kB / 0.9079 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.1924, allocations: 15.98 kB / 0.9079 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.1924, allocations: 4 kB / 0.9079 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1924, allocations: 0 / 0.9079 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1924, allocations: 4 kB / 0.9079 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1925, allocations: 3.938 kB / 0.9079 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004071/0.1929, allocations: 388 kB / 0.9083 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.962e-05/0.1929, allocations: 89.05 kB / 0.9084 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.1929, allocations: 3.938 kB / 0.9084 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.1931, allocations: 19.98 kB / 0.9084 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.1932, allocations: 15.92 kB / 0.9084 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.1932, allocations: 7.984 kB / 0.9084 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.096e-05/0.1933, allocations: 144.2 kB / 0.9085 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1933, allocations: 0 / 0.9085 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002791/0.1935, allocations: 27.91 kB / 0.9086 GB, free: 55.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001143/0.1937, allocations: 111.1 kB / 0.9087 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002734/0.1939, allocations: 115.9 kB / 0.9088 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.194, allocations: 0 / 0.9088 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.1941, allocations: 63.84 kB / 0.9089 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.1946, allocations: 53.59 kB / 0.9089 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005488/0.1951, allocations: 424.4 kB / 0.9093 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.1953, allocations: 0.7205 MB / 0.91 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.1953, allocations: 19.44 kB / 0.91 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of SimCode: time 3.2e-07/0.1953, allocations: 0 / 0.91 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of Templates: time 0.00264/0.198, allocations: 1.826 MB / 0.9118 GB, free: 52.32 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)