Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.48/2.48, allocations: 253.2 MB / 260.6 MB, free: 7.535 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002084/0.002084, allocations: 181.1 kB / 319.9 MB, free: 3.078 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.162/2.162, allocations: 205.6 MB / 0.5708 GB, free: 15.27 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 95.69 kB / 0.6751 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.944e-05/2.957e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2059, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9495/1.155, allocations: 132.4 MB / 1.018 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/1.156, allocations: 69.64 kB / 1.018 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01075/1.167, allocations: 2.722 MB / 1.021 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.673e-06/1.167, allocations: 0 / 1.021 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.184e-05/1.167, allocations: 8.125 kB / 1.021 GB, free: 2.59 MB / 0.6355 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.0007956/1.167, allocations: 436.2 kB / 1.021 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/1.167, allocations: 8.031 kB / 1.021 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.201e-05/1.168, allocations: 15.81 kB / 1.021 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/1.168, allocations: 211.3 kB / 1.021 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/1.168, allocations: 7.938 kB / 1.021 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/1.168, allocations: 14.44 kB / 1.021 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000148/1.168, allocations: 32.12 kB / 1.021 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/1.168, allocations: 127.4 kB / 1.022 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/1.168, allocations: 3.984 kB / 1.022 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/1.169, allocations: 0 / 1.022 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/1.169, allocations: 4 kB / 1.022 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/1.17, allocations: 0.7256 MB / 1.022 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.576e-05/1.17, allocations: 37.2 kB / 1.022 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.948e-05/1.17, allocations: 18.36 kB / 1.022 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/1.17, allocations: 0 / 1.022 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002298/1.17, allocations: 108.8 kB / 1.022 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.823e-06/1.17, allocations: 0 / 1.022 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003111/1.171, allocations: 91.42 kB / 1.022 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/1.171, allocations: 135.8 kB / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/1.171, allocations: 146.7 kB / 1.023 GB, free: 412 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/1.171, allocations: 29.7 kB / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.647e-05/1.171, allocations: 114.2 kB / 1.023 GB, free: 272 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/1.171, allocations: 46.59 kB / 1.023 GB, free: 232 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.789e-06/1.171, allocations: 4 kB / 1.023 GB, free: 228 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002049/1.171, allocations: 329.6 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.993e-05/1.172, allocations: 19.44 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/1.172, allocations: 103.8 kB / 1.023 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.724e-05/1.172, allocations: 35.48 kB / 1.023 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/1.172, allocations: 4 kB / 1.023 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000341/1.172, allocations: 134.1 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/1.172, allocations: 8.344 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.172, allocations: 8 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/1.172, allocations: 4 kB / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/1.173, allocations: 31.67 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/1.173, allocations: 11.92 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/1.173, allocations: 15.98 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/1.173, allocations: 8 kB / 1.024 GB, free: 15.52 MB / 0.6511 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,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001172/1.173, allocations: 120.8 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/1.173, allocations: 19 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.466e-05/1.173, allocations: 17.52 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/1.173, allocations: 4 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.173, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.173, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008936/1.174, allocations: 461.7 kB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/1.174, allocations: 4.875 kB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/1.174, allocations: 15.98 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/1.174, allocations: 7.938 kB / 1.024 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/1.174, allocations: 7.797 kB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/1.174, allocations: 4 kB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.174, allocations: 3.938 kB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004468/1.175, allocations: 341.5 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.83e-05/1.175, allocations: 96.36 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/1.175, allocations: 4 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/1.175, allocations: 19.98 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.581e-05/1.175, allocations: 15.97 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/1.175, allocations: 7.438 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001198/1.175, allocations: 118.4 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.9e-07/1.175, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000448/1.176, allocations: 23.94 kB / 1.025 GB, free: 14.23 MB / 0.6511 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,intWitRes1.trigger,$whenCondition2) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001966/1.176, allocations: 107.2 kB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002388/1.176, allocations: 68.62 kB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.176, allocations: 0 / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/1.177, allocations: 35.19 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005034/1.177, allocations: 41.39 kB / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007868/1.178, allocations: 249.2 kB / 1.025 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/1.178, allocations: 0.7278 MB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.521e-05/1.178, allocations: 16.77 kB / 1.026 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.383e-05/1.178, allocations: 15.44 kB / 1.026 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of SimCode: time 7.81e-07/1.178, allocations: 3.938 kB / 1.026 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of Templates: time 0.005678/1.184, allocations: 1.27 MB / 1.027 GB, free: 11.71 MB / 0.6511 GB