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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008909/0.008908, allocations: 101.6 kB / 15.73 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 194.2 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.807/1.807, allocations: 251.7 MB / 0.5094 GB, free: 3.027 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00147/0.001469, allocations: 74.09 kB / 0.7258 GB, free: 8.918 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2906, allocations: 104.7 MB / 0.8281 GB, free: 112 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.003317/0.294, allocations: 1.736 MB / 0.8298 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008535/0.2949, allocations: 295.9 kB / 0.8301 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.295, allocations: 0 / 0.8301 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.2952, allocations: 27.73 kB / 0.8301 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.483e-05/0.2953, allocations: 27.78 kB / 0.8301 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.2956, allocations: 51.88 kB / 0.8302 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.2958, allocations: 147.6 kB / 0.8303 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.2961, allocations: 49.53 kB / 0.8304 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.851e-05/0.2962, allocations: 51.72 kB / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.121e-05/0.2963, allocations: 55.7 kB / 0.8305 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.2963, allocations: 12 kB / 0.8305 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.821e-05/0.2963, allocations: 8 kB / 0.8305 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.968e-05/0.2964, allocations: 31.84 kB / 0.8305 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.421e-05/0.2964, allocations: 59.61 kB / 0.8306 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.2967, allocations: 139.5 kB / 0.8307 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2967, allocations: 0 / 0.8307 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.236e-06/0.2967, allocations: 3.938 kB / 0.8307 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.2967, allocations: 3.938 kB / 0.8307 GB, free: 13.41 MB / 0.6544 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.0008109/0.2975, allocations: 466.6 kB / 0.8312 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.2976, allocations: 8.031 kB / 0.8312 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.924e-05/0.2976, allocations: 16.75 kB / 0.8312 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.298, allocations: 220.7 kB / 0.8314 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.2981, allocations: 12.38 kB / 0.8314 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.2981, allocations: 16.36 kB / 0.8314 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.2984, allocations: 156.2 kB / 0.8316 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.2985, allocations: 192 / 0.8316 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.2985, allocations: 3.938 kB / 0.8316 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.2985, allocations: 4 kB / 0.8316 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.2988, allocations: 79.88 kB / 0.8317 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009678/0.2997, allocations: 0.7275 MB / 0.8324 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.2999, allocations: 54.48 kB / 0.8324 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.3, allocations: 32.83 kB / 0.8325 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.3001, allocations: 3.938 kB / 0.8325 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002856/0.3003, allocations: 122.8 kB / 0.8326 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.3004, allocations: 0 / 0.8326 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0005488/0.3009, allocations: 169.2 kB / 0.8327 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.932e-05/0.301, allocations: 132.8 kB / 0.8329 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.3013, allocations: 198.5 kB / 0.8331 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.3013, allocations: 29.7 kB / 0.8331 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.545e-05/0.3014, allocations: 116 kB / 0.8332 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.3014, allocations: 31.55 kB / 0.8332 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.16e-05/0.3015, allocations: 41.7 kB / 0.8333 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.3017, allocations: 326.8 kB / 0.8336 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.3019, allocations: 35.97 kB / 0.8336 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.3021, allocations: 134.9 kB / 0.8337 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.3024, allocations: 176 kB / 0.8339 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3024, allocations: 4 kB / 0.8339 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003725/0.3028, allocations: 185.1 kB / 0.8341 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3028, allocations: 11.94 kB / 0.8341 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3028, allocations: 7.984 kB / 0.8341 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3029, allocations: 4 kB / 0.8341 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.303, allocations: 28.33 kB / 0.8341 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.303, allocations: 8 kB / 0.8341 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.3031, allocations: 23.83 kB / 0.8342 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.3032, allocations: 8 kB / 0.8342 GB, free: 9.496 MB / 0.6544 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 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,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 0.0001113/0.3033, allocations: 129.8 kB / 0.8343 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.3033, allocations: 27.73 kB / 0.8343 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/0.3034, allocations: 13.41 kB / 0.8343 GB, free: 9.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3034, allocations: 0 / 0.8343 GB, free: 9.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3034, allocations: 4 kB / 0.8343 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3034, allocations: 4 kB / 0.8343 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008552/0.3043, allocations: 0.5095 MB / 0.8348 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3043, allocations: 0 / 0.8348 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.3044, allocations: 23.92 kB / 0.8349 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3044, allocations: 0 / 0.8349 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.3044, allocations: 8 kB / 0.8349 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.3044, allocations: 3.984 kB / 0.8349 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3044, allocations: 4 kB / 0.8349 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005079/0.305, allocations: 364.3 kB / 0.8352 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.3051, allocations: 88.92 kB / 0.8353 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.3051, allocations: 8 kB / 0.8353 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.3053, allocations: 12.03 kB / 0.8353 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/0.3053, allocations: 15.98 kB / 0.8353 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.3054, allocations: 7.984 kB / 0.8354 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001165/0.3055, allocations: 143.9 kB / 0.8355 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3055, allocations: 0 / 0.8355 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003421/0.3058, allocations: 28 kB / 0.8355 GB, free: 8.012 MB / 0.6544 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.0001783/0.306, allocations: 111.2 kB / 0.8356 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003609/0.3064, allocations: 104.4 kB / 0.8357 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.3064, allocations: 4 kB / 0.8357 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.3066, allocations: 52.03 kB / 0.8358 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005153/0.3071, allocations: 48 kB / 0.8358 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000876/0.308, allocations: 352.5 kB / 0.8362 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.3084, allocations: 0.7202 MB / 0.8369 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.719e-05/0.3085, allocations: 13.8 kB / 0.8369 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.1e-05/0.3086, allocations: 15.44 kB / 0.8369 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of SimCode: time 3.01e-07/0.3086, allocations: 0 / 0.8369 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of Templates: time 0.005142/0.3137, allocations: 1.662 MB / 0.8385 GB, free: 4.898 MB / 0.6544 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)