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.438/2.438, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001525/0.001525, allocations: 190.1 kB / 325.6 MB, free: 2.844 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.766/2.766, allocations: 205.4 MB / 0.5766 GB, free: 20.82 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.001134/0.001134, allocations: 93.36 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004664/0.0004665, allocations: 15.81 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2362, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.002063/0.2383, allocations: 1.395 MB / 0.9003 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007215/0.2391, allocations: 305.1 kB / 0.9006 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.2392, allocations: 8 kB / 0.9006 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.939e-05/0.2393, allocations: 7.922 kB / 0.9006 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.2394, allocations: 23.89 kB / 0.9006 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.2397, allocations: 39.95 kB / 0.9006 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.2399, allocations: 95.77 kB / 0.9007 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.2401, allocations: 33.66 kB / 0.9008 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.957e-05/0.2401, allocations: 47.78 kB / 0.9008 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.979e-05/0.2402, allocations: 43.77 kB / 0.9008 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.2403, allocations: 4 kB / 0.9008 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.121e-05/0.2403, allocations: 7.938 kB / 0.9009 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.897e-05/0.2403, allocations: 19.86 kB / 0.9009 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.371e-05/0.2404, allocations: 45.64 kB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.2405, allocations: 91.78 kB / 0.901 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2405, allocations: 0 / 0.901 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2406, allocations: 0 / 0.901 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2406, allocations: 0 / 0.901 GB, free: 63.31 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.0008162/0.2414, allocations: 458.8 kB / 0.9014 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.2414, allocations: 8.031 kB / 0.9014 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.676e-05/0.2415, allocations: 15.81 kB / 0.9015 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.2418, allocations: 215.5 kB / 0.9017 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.2418, allocations: 12 kB / 0.9017 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.112e-05/0.2418, allocations: 12 kB / 0.9017 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003821/0.2422, allocations: 145.9 kB / 0.9018 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.2423, allocations: 0 / 0.9018 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.2423, allocations: 15.98 kB / 0.9018 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.2423, allocations: 4 kB / 0.9018 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003557/0.2427, allocations: 75.84 kB / 0.9019 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.2438, allocations: 0.7471 MB / 0.9027 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.244, allocations: 58.53 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.244, allocations: 0 / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000347/0.2444, allocations: 130.7 kB / 0.9028 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.803e-06/0.2444, allocations: 0 / 0.9028 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0007066/0.2451, allocations: 177.6 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.2452, allocations: 140.4 kB / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.2455, allocations: 194.5 kB / 0.9033 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.2455, allocations: 25.7 kB / 0.9033 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.325e-05/0.2456, allocations: 120 kB / 0.9035 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.2456, allocations: 35.7 kB / 0.9035 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-06/0.2456, allocations: 0 / 0.9035 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.878e-05/0.2457, allocations: 330.8 kB / 0.9038 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.2459, allocations: 39.97 kB / 0.9038 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.2462, allocations: 128 kB / 0.904 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.2464, allocations: 55.92 kB / 0.904 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.2464, allocations: 0 / 0.904 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005532/0.247, allocations: 193.3 kB / 0.9042 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.247, allocations: 8.406 kB / 0.9042 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.247, allocations: 12.23 kB / 0.9042 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.2471, allocations: 7.984 kB / 0.9042 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.2473, allocations: 35.92 kB / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.2473, allocations: 11.94 kB / 0.9043 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.2475, allocations: 27.83 kB / 0.9043 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.2475, allocations: 8 kB / 0.9043 GB, free: 59.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.2477, allocations: 134.6 kB / 0.9044 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.2477, allocations: 11.81 kB / 0.9045 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.23e-05/0.2478, allocations: 25.39 kB / 0.9045 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.2478, allocations: 0 / 0.9045 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.2478, allocations: 4 kB / 0.9045 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.2478, allocations: 3.953 kB / 0.9045 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.2489, allocations: 0.5249 MB / 0.905 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.2489, allocations: 0 / 0.905 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.2491, allocations: 23.92 kB / 0.905 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.2492, allocations: 4 kB / 0.905 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.2492, allocations: 8 kB / 0.905 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.2492, allocations: 3.953 kB / 0.905 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.2492, allocations: 4 kB / 0.905 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007676/0.25, allocations: 405.3 kB / 0.9054 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/0.2501, allocations: 96.95 kB / 0.9055 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.2501, allocations: 4 kB / 0.9055 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.2504, allocations: 19.98 kB / 0.9055 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.2505, allocations: 7.984 kB / 0.9055 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.2506, allocations: 8 kB / 0.9056 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001331/0.2507, allocations: 135.2 kB / 0.9057 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2507, allocations: 4 kB / 0.9057 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004524/0.2512, allocations: 24 kB / 0.9057 GB, free: 58.04 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 (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.0001458/0.2513, allocations: 103.2 kB / 0.9058 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000516/0.2518, allocations: 119.9 kB / 0.9059 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.2519, allocations: 4 kB / 0.9059 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000237/0.2521, allocations: 51.91 kB / 0.906 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005528/0.2527, allocations: 42.55 kB / 0.906 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009052/0.2536, allocations: 398.6 kB / 0.9064 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.2538, allocations: 0.7205 MB / 0.9071 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.126e-05/0.2539, allocations: 17.42 kB / 0.9071 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.254, allocations: 19.38 kB / 0.9071 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of SimCode: time 1.002e-06/0.254, allocations: 0 / 0.9071 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of Templates: time 0.005497/0.2595, allocations: 1.41 MB / 0.9085 GB, free: 55.12 MB / 0.6042 GB