Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001405/0.001405, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001742/0.001742, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.526/1.526, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.965/2.965, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 67.33 kB / 0.9114 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3692, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002507/0.3718, allocations: 0.9422 MB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001844/0.3737, allocations: 1.194 MB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.802e-05/0.3737, allocations: 3.938 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.532e-05/0.3738, allocations: 3.938 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.594e-05/0.3739, allocations: 15.91 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005161/0.3744, allocations: 139.1 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.3746, allocations: 151.6 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.3747, allocations: 33.09 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.3749, allocations: 59.78 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.375, allocations: 67.72 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.375, allocations: 12 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.086e-05/0.3751, allocations: 27.98 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.904e-05/0.3752, allocations: 19.92 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.561e-05/0.3753, allocations: 63.7 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.3755, allocations: 147.8 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3755, allocations: 3.938 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3755, allocations: 4 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.3755, allocations: 0 / 1.07 GB, free: 7.996 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.0008288/0.3763, allocations: 456.8 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.3764, allocations: 8.031 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.672e-05/0.3765, allocations: 16.75 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005766/0.3771, allocations: 257.4 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.3771, allocations: 12.36 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-05/0.3771, allocations: 12.38 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.3774, allocations: 90.22 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3774, allocations: 7.922 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.3774, allocations: 0 / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.3774, allocations: 4 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.3776, allocations: 46.06 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007265/0.3783, allocations: 396.4 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.3785, allocations: 30.56 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.309e-05/0.3786, allocations: 24.97 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.3786, allocations: 3.938 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.3788, allocations: 107.3 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.3788, allocations: 0 / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004342/0.3793, allocations: 133.5 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.3793, allocations: 59.34 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.3795, allocations: 147.4 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.3795, allocations: 33.7 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.688e-05/0.3796, allocations: 108.1 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.3796, allocations: 23.62 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.35e-05/0.3797, allocations: 49.69 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3799, allocations: 322.8 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.38, allocations: 47.95 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.3802, allocations: 139.1 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/0.3806, allocations: 200.6 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3807, allocations: 0 / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004903/0.3812, allocations: 243.2 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.263e-05/0.3812, allocations: 37.69 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.3812, allocations: 8 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.3813, allocations: 7.938 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.3814, allocations: 23.92 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.3814, allocations: 7.938 kB / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/0.3816, allocations: 47.89 kB / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.3817, allocations: 12 kB / 1.073 GB, free: 4.609 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.0001222/0.3818, allocations: 125.8 kB / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.3818, allocations: 11.91 kB / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.3819, allocations: 12.7 kB / 1.073 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3819, allocations: 4 kB / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3819, allocations: 3.938 kB / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3819, allocations: 0 / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006474/0.3825, allocations: 406.7 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.3825, allocations: 0 / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.196e-05/0.3826, allocations: 15.92 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.3827, allocations: 8.031 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.3827, allocations: 7.938 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3827, allocations: 0 / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3827, allocations: 0 / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/0.3831, allocations: 239.4 kB / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.3832, allocations: 96.94 kB / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.3832, allocations: 4 kB / 1.074 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.936e-05/0.3833, allocations: 8.031 kB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.3833, allocations: 4 kB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.3834, allocations: 11.98 kB / 1.074 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.705e-05/0.3834, allocations: 104.5 kB / 1.074 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3834, allocations: 0 / 1.074 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002922/0.3837, allocations: 28 kB / 1.074 GB, free: 3.438 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.0002319/0.384, allocations: 111.2 kB / 1.074 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004782/0.3845, allocations: 187.6 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3845, allocations: 0 / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.3846, allocations: 35.97 kB / 1.075 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.385, allocations: 15.98 kB / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006865/0.3857, allocations: 302.8 kB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.3861, allocations: 0.7086 MB / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.491e-05/0.3862, allocations: 16.64 kB / 1.076 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.3862, allocations: 15.44 kB / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3862, allocations: 4.281 kB / 1.076 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of Templates: time 0.005832/0.3921, allocations: 1.535 MB / 1.077 GB, free: 476 kB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1)