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.007604/0.007604, allocations: 104.7 kB / 15.74 MB, free: 6.488 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.001443/0.001443, allocations: 197.5 kB / 16.67 MB, free: 6.375 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.793/1.793, 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.672/1.672, allocations: 251.7 MB / 0.5094 GB, free: 3.059 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.001719/0.00172, allocations: 71.89 kB / 0.7258 GB, free: 8.969 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.3002, allocations: 104.7 MB / 0.8281 GB, free: 160 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.003645/0.3039, allocations: 1.732 MB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006888/0.3046, allocations: 288 kB / 0.8301 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.3047, allocations: 7.875 kB / 0.8301 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.3049, allocations: 19.8 kB / 0.8301 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.465e-05/0.305, allocations: 23.72 kB / 0.8301 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.3052, allocations: 59.88 kB / 0.8302 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.3055, allocations: 147.6 kB / 0.8303 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.3056, allocations: 41.53 kB / 0.8304 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.676e-05/0.3057, allocations: 51.8 kB / 0.8304 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.54e-05/0.3058, allocations: 51.7 kB / 0.8305 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.224e-05/0.3059, allocations: 12 kB / 0.8305 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.555e-05/0.3059, allocations: 12 kB / 0.8305 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.212e-05/0.306, allocations: 39.77 kB / 0.8305 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.514e-05/0.3061, allocations: 55.67 kB / 0.8306 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.3063, allocations: 135.4 kB / 0.8307 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.3063, allocations: 0 / 0.8307 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.334e-06/0.3063, allocations: 0 / 0.8307 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.3063, allocations: 7.938 kB / 0.8307 GB, free: 13.47 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.000735/0.3071, allocations: 478.5 kB / 0.8312 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.3071, allocations: 12.03 kB / 0.8312 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.332e-05/0.3072, allocations: 16.75 kB / 0.8312 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.3075, allocations: 216.7 kB / 0.8314 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.3076, allocations: 8.375 kB / 0.8314 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/0.3076, allocations: 12.38 kB / 0.8314 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.308, allocations: 158.4 kB / 0.8316 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.308, allocations: 192 / 0.8316 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.308, allocations: 11.94 kB / 0.8316 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.308, allocations: 0 / 0.8316 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002396/0.3083, allocations: 71.83 kB / 0.8317 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.3093, allocations: 0.7392 MB / 0.8324 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.3094, allocations: 50.55 kB / 0.8324 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.3096, allocations: 32.84 kB / 0.8325 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.3096, allocations: 0 / 0.8325 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002459/0.3099, allocations: 122.7 kB / 0.8326 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.3099, allocations: 4 kB / 0.8326 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0005355/0.3104, allocations: 165.2 kB / 0.8327 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.006e-05/0.3105, allocations: 132.5 kB / 0.8329 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.3107, allocations: 194.5 kB / 0.833 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.3108, allocations: 25.7 kB / 0.8331 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/0.3109, allocations: 120.3 kB / 0.8332 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.3109, allocations: 35.7 kB / 0.8332 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/0.311, allocations: 37.72 kB / 0.8333 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3111, allocations: 330.8 kB / 0.8336 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.3112, allocations: 35.97 kB / 0.8336 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.3114, allocations: 126.7 kB / 0.8337 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.3117, allocations: 183.7 kB / 0.8339 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3118, allocations: 256 / 0.8339 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003849/0.3121, allocations: 181.4 kB / 0.8341 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.3122, allocations: 7.938 kB / 0.8341 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.3122, allocations: 8 kB / 0.8341 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.3122, allocations: 7.938 kB / 0.8341 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.3123, allocations: 31.97 kB / 0.8341 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.3124, allocations: 7.938 kB / 0.8341 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.3125, allocations: 23.83 kB / 0.8342 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.3125, allocations: 16.22 kB / 0.8342 GB, free: 9.547 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.0001118/0.3127, allocations: 125.1 kB / 0.8343 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.3127, allocations: 23.69 kB / 0.8343 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.529e-05/0.3127, allocations: 21.39 kB / 0.8343 GB, free: 9.375 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3127, allocations: 4 kB / 0.8343 GB, free: 9.371 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3128, allocations: 3.938 kB / 0.8343 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3128, allocations: 240 / 0.8343 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007831/0.3136, allocations: 0.5171 MB / 0.8348 GB, free: 8.793 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.3136, allocations: 4 kB / 0.8349 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.3137, allocations: 15.98 kB / 0.8349 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3137, allocations: 0 / 0.8349 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.3137, allocations: 4 kB / 0.8349 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.3137, allocations: 0 / 0.8349 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3137, allocations: 3.938 kB / 0.8349 GB, free: 8.766 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005288/0.3143, allocations: 364.1 kB / 0.8352 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/0.3143, allocations: 96.95 kB / 0.8353 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.3144, allocations: 0 / 0.8353 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.3146, allocations: 19.98 kB / 0.8353 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.3146, allocations: 11.92 kB / 0.8353 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.3146, allocations: 4 kB / 0.8353 GB, free: 8.238 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001088/0.3147, allocations: 148 kB / 0.8355 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3147, allocations: 0 / 0.8355 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000326/0.3151, allocations: 24 kB / 0.8355 GB, free: 8.07 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.0001875/0.3153, allocations: 115.2 kB / 0.8356 GB, free: 7.949 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004328/0.3157, allocations: 107.8 kB / 0.8357 GB, free: 7.844 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.3157, allocations: 0 / 0.8357 GB, free: 7.844 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.3159, allocations: 48.84 kB / 0.8358 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/0.3164, allocations: 52.2 kB / 0.8358 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008013/0.3172, allocations: 348.4 kB / 0.8362 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.3175, allocations: 0.7202 MB / 0.8369 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.423e-05/0.3176, allocations: 13.42 kB / 0.8369 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.962e-05/0.3177, allocations: 15.44 kB / 0.8369 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of SimCode: time 2.064e-06/0.3177, allocations: 0 / 0.8369 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of Templates: time 0.005023/0.3227, allocations: 1.672 MB / 0.8385 GB, free: 4.949 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)