Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001315/0.001315, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001952/0.001952, allocations: 190.5 kB / 16.25 MB, free: 6.633 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.686/1.686, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.754/1.754, allocations: 292.2 MB / 0.5485 GB, free: 13.61 MB / 462.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.001413/0.001413, allocations: 68.47 kB / 0.671 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3333, allocations: 114.6 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.003024/0.3364, allocations: 0.9471 MB / 0.7838 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002063/0.3385, allocations: 1.176 MB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.3387, allocations: 3.938 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.111e-05/0.3388, allocations: 7.938 kB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.3389, allocations: 11.88 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007543/0.3397, allocations: 135 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.34, allocations: 167.7 kB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.3402, allocations: 41.09 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.3404, allocations: 71.77 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.3405, allocations: 63.73 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.135e-05/0.3406, allocations: 16 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.3407, allocations: 27.98 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.925e-05/0.3407, allocations: 19.92 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.3409, allocations: 71.7 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.3412, allocations: 159.8 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3412, allocations: 7.938 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3412, allocations: 0 / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.3412, allocations: 0 / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009072/0.3421, allocations: 452.8 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.3422, allocations: 12.03 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.3423, allocations: 16.75 kB / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006425/0.343, allocations: 260.1 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.343, allocations: 12.38 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.876e-05/0.3431, allocations: 12.38 kB / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002785/0.3434, allocations: 86.2 kB / 0.7865 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.3434, allocations: 3.938 kB / 0.7865 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.3434, allocations: 4 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.3434, allocations: 0 / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.3436, allocations: 55.19 kB / 0.7866 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009644/0.3446, allocations: 388.4 kB / 0.787 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.3448, allocations: 34.56 kB / 0.787 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.412e-05/0.3449, allocations: 36.7 kB / 0.787 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.3449, allocations: 4 kB / 0.787 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003703/0.3453, allocations: 91.48 kB / 0.7871 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 2.435e-06/0.3453, allocations: 0 / 0.7871 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005282/0.3458, allocations: 137.5 kB / 0.7872 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/0.3459, allocations: 55.34 kB / 0.7873 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.3461, allocations: 144.5 kB / 0.7874 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.3462, allocations: 33.7 kB / 0.7875 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.3463, allocations: 112.1 kB / 0.7876 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.3463, allocations: 31.61 kB / 0.7876 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.3465, allocations: 41.7 kB / 0.7876 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.3467, allocations: 326.8 kB / 0.788 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.3469, allocations: 47.95 kB / 0.788 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.3471, allocations: 131.1 kB / 0.7881 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003712/0.3475, allocations: 204.6 kB / 0.7883 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3475, allocations: 0 / 0.7883 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000583/0.3481, allocations: 246.9 kB / 0.7886 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.678e-05/0.3482, allocations: 37.69 kB / 0.7886 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.3482, allocations: 0 / 0.7886 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-05/0.3482, allocations: 8.312 kB / 0.7886 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.3484, allocations: 35.92 kB / 0.7886 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/0.3484, allocations: 7.938 kB / 0.7886 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.3487, allocations: 35.89 kB / 0.7887 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.3487, allocations: 12 kB / 0.7887 GB, free: 7.566 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.000149/0.3489, allocations: 134.4 kB / 0.7888 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.3489, allocations: 11.81 kB / 0.7888 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.088e-05/0.349, allocations: 20.72 kB / 0.7889 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.349, allocations: 0 / 0.7889 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.349, allocations: 4.312 kB / 0.7889 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.349, allocations: 0 / 0.7889 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006261/0.3497, allocations: 402.4 kB / 0.7892 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3497, allocations: 0 / 0.7892 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.3498, allocations: 15.92 kB / 0.7893 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.3498, allocations: 7.938 kB / 0.7893 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.3498, allocations: 4 kB / 0.7893 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3498, allocations: 0 / 0.7893 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3498, allocations: 0 / 0.7893 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004226/0.3502, allocations: 247.3 kB / 0.7895 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.3503, allocations: 97.03 kB / 0.7896 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.3504, allocations: 0 / 0.7896 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.999e-05/0.3504, allocations: 8.031 kB / 0.7896 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.3505, allocations: 11.98 kB / 0.7896 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.3505, allocations: 4 kB / 0.7896 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.202e-05/0.3506, allocations: 99.27 kB / 0.7897 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3506, allocations: 4 kB / 0.7897 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003041/0.3509, allocations: 31.98 kB / 0.7897 GB, free: 6.383 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0002075/0.3512, allocations: 111.2 kB / 0.7899 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004379/0.3516, allocations: 183.1 kB / 0.79 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3516, allocations: 0 / 0.79 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.3517, allocations: 44.66 kB / 0.7901 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.3521, allocations: 24.3 kB / 0.7901 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006969/0.3528, allocations: 296.9 kB / 0.7904 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/0.3532, allocations: 0.7123 MB / 0.7911 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.694e-05/0.3533, allocations: 12.66 kB / 0.7911 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/0.3533, allocations: 23.36 kB / 0.7911 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of SimCode: time 4.5e-07/0.3534, allocations: 0 / 0.7911 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of Templates: time 0.005694/0.3591, allocations: 1.595 MB / 0.7927 GB, free: 3.352 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)