Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009391/0.00939, allocations: 172 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.001/3.001, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003796, allocations: 13.41 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3872, allocations: 162.2 MB / 1.074 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.001133/0.3884, allocations: 0.5305 MB / 1.075 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.3901, allocations: 1.361 MB / 1.076 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.466e-05/0.3902, allocations: 0 / 1.076 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.3902, allocations: 11.92 kB / 1.076 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.968e-05/0.3903, allocations: 15.86 kB / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007188/0.391, allocations: 270.1 kB / 1.076 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.3914, allocations: 339.4 kB / 1.077 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.3915, allocations: 48.8 kB / 1.077 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.3917, allocations: 131.7 kB / 1.077 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.3919, allocations: 123.6 kB / 1.077 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.39e-05/0.3919, allocations: 20 kB / 1.077 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.204e-05/0.392, allocations: 31.98 kB / 1.077 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.3921, allocations: 51.88 kB / 1.077 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.3923, allocations: 165.3 kB / 1.077 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003226/0.3926, allocations: 319.3 kB / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.3926, allocations: 4 kB / 1.077 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3926, allocations: 3.938 kB / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.3926, allocations: 0 / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009064/0.3935, allocations: 0.5344 MB / 1.078 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.3936, allocations: 8.031 kB / 1.078 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.454e-05/0.3937, allocations: 32.73 kB / 1.078 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007471/0.3944, allocations: 308.6 kB / 1.078 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/0.3945, allocations: 24.58 kB / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.511e-05/0.3946, allocations: 40.3 kB / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/0.395, allocations: 263.4 kB / 1.079 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.395, allocations: 0 / 1.079 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.395, allocations: 11.98 kB / 1.079 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.395, allocations: 7.984 kB / 1.079 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002286/0.3953, allocations: 124.6 kB / 1.079 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008595/0.3961, allocations: 0.6101 MB / 1.079 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005416/0.3967, allocations: 411.6 kB / 1.08 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.397, allocations: 184.8 kB / 1.08 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.397, allocations: 3.938 kB / 1.08 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005649/0.3976, allocations: 362.8 kB / 1.08 GB, free: 1 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 3.196e-06/0.3976, allocations: 0 / 1.08 GB, free: 1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.001028/0.3986, allocations: 0.6622 MB / 1.081 GB, free: 340 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.3987, allocations: 67.39 kB / 1.081 GB, free: 260 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.3988, allocations: 150.9 kB / 1.081 GB, free: 100 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.634e-05/0.3989, allocations: 49.7 kB / 1.081 GB, free: 44 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.678e-05/0.399, allocations: 101.1 kB / 1.081 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.506e-05/0.3991, allocations: 106.7 kB / 1.081 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.853e-05/0.3992, allocations: 61.69 kB / 1.081 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3993, allocations: 342.8 kB / 1.082 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.3996, allocations: 141.1 kB / 1.082 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003805/0.4, allocations: 304 kB / 1.082 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006282/0.4006, allocations: 462.4 kB / 1.083 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4007, allocations: 0 / 1.083 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009418/0.4016, allocations: 0.5613 MB / 1.083 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.965e-05/0.4017, allocations: 67.39 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.4017, allocations: 8 kB / 1.083 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.4017, allocations: 11.94 kB / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.4019, allocations: 39.92 kB / 1.083 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/0.4019, allocations: 19.92 kB / 1.083 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004822/0.4024, allocations: 111.9 kB / 1.083 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.343e-05/0.4025, allocations: 39.98 kB / 1.083 GB, free: 13.5 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,thrTimWitRes.passed,$PRE.thrTimWitRes.passed,noThrWitRes.passed,$PRE.noThrWitRes.passed,thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,resTim.y,$PRE.resTim.y,thrTimWitRes.reset,noThrWitRes.reset,$whenCondition12,$whenCondition16,booPul.y,$PRE.booPul.y,thrTimWitRes.yAcc,$PRE.thrTimWitRes.yAcc,thrTimWitRes.entryTime,$PRE.thrTimWitRes.entryTime,thrTimWitRes.u,noThrWitRes.yAcc,$PRE.noThrWitRes.yAcc,noThrWitRes.entryTime,$PRE.noThrWitRes.entryTime,noThrWitRes.u,thrTim.yAcc,$PRE.thrTim.yAcc,thrTim.entryTime,$PRE.thrTim.entryTime,thrTim.u,noThr.yAcc,$PRE.noThr.yAcc,noThr.entryTime,$PRE.noThr.entryTime,noThr.u,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition15,$whenCondition14,$whenCondition13,con.y,noThr.reset,$whenCondition4,thrTim.reset,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * 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.0001999/0.4027, allocations: 182.9 kB / 1.084 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.4027, allocations: 23.81 kB / 1.084 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.379e-05/0.4028, allocations: 30.3 kB / 1.084 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.4028, allocations: 4 kB / 1.084 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.4028, allocations: 3.938 kB / 1.084 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.4028, allocations: 4 kB / 1.084 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.4044, allocations: 1.017 MB / 1.085 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.4044, allocations: 4 kB / 1.085 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.166e-05/0.4044, allocations: 8 kB / 1.085 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.4044, allocations: 3.938 kB / 1.085 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.4045, allocations: 19.97 kB / 1.085 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.4045, allocations: 0 / 1.085 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4045, allocations: 0 / 1.085 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008924/0.4054, allocations: 0.6282 MB / 1.085 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.346e-05/0.4055, allocations: 104.8 kB / 1.085 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.756e-05/0.4056, allocations: 19.98 kB / 1.085 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.4058, allocations: 27.97 kB / 1.085 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.4059, allocations: 39.92 kB / 1.086 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.66e-05/0.4059, allocations: 35.97 kB / 1.086 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.007e-05/0.406, allocations: 109 kB / 1.086 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.406, allocations: 0 / 1.086 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004178/0.4064, allocations: 95.98 kB / 1.086 GB, free: 11.05 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 (thrTimWitRes.u,noThrWitRes.u,thrTim.u,noThr.u,noThrWitRes.reset,thrTimWitRes.reset,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y) * Number of discrete states: 16 (thrTim.entryTime,thrTim.yAcc,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.entryTime,thrTimWitRes.yAcc,noThr.entryTime,noThr.yAcc,thrTimWitRes.y,thrTimWitRes.passed,noThrWitRes.y,noThrWitRes.passed,thrTim.y,thrTim.passed,noThr.y,noThr.passed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002826/0.4067, allocations: 154.2 kB / 1.086 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008528/0.4076, allocations: 0.5518 MB / 1.086 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4076, allocations: 0 / 1.086 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000359/0.408, allocations: 291.8 kB / 1.087 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.4083, allocations: 47.89 kB / 1.087 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009194/0.4093, allocations: 0.4941 MB / 1.087 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.4098, allocations: 0.7373 MB / 1.088 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.684e-05/0.4099, allocations: 30.97 kB / 1.088 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.148e-05/0.41, allocations: 35.42 kB / 1.088 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.41, allocations: 0 / 1.088 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of Templates: time 0.008615/0.4186, allocations: 3.896 MB / 1.092 GB, free: 4.762 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1)