Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.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 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.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001922/0.001921, allocations: 195.8 kB / 16.25 MB, free: 6.621 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.448/1.448, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.795/2.795, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.7 kB / 0.9116 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3577, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002322/0.3601, allocations: 0.9545 MB / 1.069 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.3617, allocations: 1.178 MB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.369e-05/0.3618, allocations: 0 / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.765e-05/0.3619, allocations: 7.922 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.598e-05/0.362, allocations: 7.875 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005547/0.3625, allocations: 139.3 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.3627, allocations: 171.6 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.3629, allocations: 41.06 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.363, allocations: 71.83 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.809e-05/0.3631, allocations: 63.73 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.3631, allocations: 12 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.812e-05/0.3632, allocations: 31.98 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.193e-05/0.3633, allocations: 19.92 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.966e-05/0.3634, allocations: 63.72 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.3636, allocations: 167.7 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3636, allocations: 0 / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3636, allocations: 0 / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.3636, allocations: 0 / 1.071 GB, free: 7.871 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007488/0.3644, allocations: 460.8 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3644, allocations: 8.031 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.876e-05/0.3645, allocations: 16.75 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005688/0.3651, allocations: 264 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.3651, allocations: 8.375 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.3652, allocations: 16.38 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.3654, allocations: 91.33 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3654, allocations: 3.938 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.3654, allocations: 0 / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3654, allocations: 4 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.3656, allocations: 47.89 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007797/0.3664, allocations: 392.4 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.3666, allocations: 38.5 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.149e-05/0.3667, allocations: 24.83 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.3667, allocations: 0 / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002921/0.367, allocations: 95.48 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.367, allocations: 0 / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004588/0.3675, allocations: 133.5 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.3675, allocations: 55.34 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.3677, allocations: 155.4 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/0.3677, allocations: 29.7 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.579e-05/0.3678, allocations: 116 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.3678, allocations: 27.62 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.292e-05/0.3679, allocations: 45.69 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3681, allocations: 322.8 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.3682, allocations: 47.95 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.3685, allocations: 131.1 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.3688, allocations: 200.6 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3688, allocations: 4 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004666/0.3693, allocations: 243 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.3693, allocations: 37.69 kB / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.3693, allocations: 4.375 kB / 1.073 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3693, allocations: 4 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.3695, allocations: 23.92 kB / 1.073 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.3695, allocations: 7.938 kB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.3697, allocations: 52.11 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.3697, allocations: 12 kB / 1.074 GB, free: 4.484 MB / 0.8262 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.0001045/0.3699, allocations: 127.6 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.3699, allocations: 11.89 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.3699, allocations: 16.66 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3699, allocations: 0 / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.3699, allocations: 7.938 kB / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.37, allocations: 4 kB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005684/0.3705, allocations: 402.3 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3705, allocations: 3.984 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.796e-05/0.3706, allocations: 19.92 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3706, allocations: 3.938 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.3707, allocations: 4 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3707, allocations: 0 / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3707, allocations: 4 kB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003919/0.3711, allocations: 239.3 kB / 1.074 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.072e-05/0.3711, allocations: 92.86 kB / 1.074 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.3712, allocations: 4 kB / 1.074 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.72e-05/0.3713, allocations: 8.031 kB / 1.074 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.3713, allocations: 15.98 kB / 1.074 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.3713, allocations: 4 kB / 1.074 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.147e-05/0.3714, allocations: 105.2 kB / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3714, allocations: 0 / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002985/0.3717, allocations: 31.98 kB / 1.075 GB, free: 3.301 MB / 0.8262 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.0002049/0.3719, allocations: 99.25 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004405/0.3724, allocations: 191.3 kB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3724, allocations: 0 / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.3725, allocations: 43.84 kB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.3728, allocations: 24.73 kB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006058/0.3735, allocations: 293 kB / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.3738, allocations: 0.7161 MB / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.01e-05/0.3738, allocations: 12.66 kB / 1.076 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.3739, allocations: 19.42 kB / 1.076 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.3739, allocations: 0 / 1.076 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of Templates: time 0.004473/0.3784, allocations: 1.58 MB / 1.077 GB, free: 288 kB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1)