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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.901/1.901, allocations: 292.3 MB / 308.1 MB, free: 4.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001593/0.001593, allocations: 193.9 kB / 376.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.912/1.912, allocations: 205.1 MB / 0.6354 GB, free: 9.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 96.77 kB / 0.748 GB, free: 61.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 55.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2991, allocations: 114.6 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.002512/0.3016, allocations: 0.9464 MB / 0.9832 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001667/0.3033, allocations: 1.191 MB / 0.9843 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.859e-05/0.3034, allocations: 0 / 0.9843 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.541e-05/0.3035, allocations: 3.938 kB / 0.9843 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.3036, allocations: 15.86 kB / 0.9844 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005238/0.3041, allocations: 135.8 kB / 0.9845 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.3043, allocations: 159.7 kB / 0.9846 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.3045, allocations: 41.03 kB / 0.9847 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.3046, allocations: 51.84 kB / 0.9847 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.3047, allocations: 63.72 kB / 0.9848 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.829e-05/0.3048, allocations: 12 kB / 0.9848 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.897e-05/0.3049, allocations: 19.98 kB / 0.9848 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.01e-05/0.3049, allocations: 23.92 kB / 0.9848 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.317e-05/0.305, allocations: 59.72 kB / 0.9849 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.3052, allocations: 163.7 kB / 0.985 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.3052, allocations: 4 kB / 0.9851 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.61e-07/0.3052, allocations: 0 / 0.9851 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.3052, allocations: 0 / 0.9851 GB, free: 7.488 MB / 0.7136 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.0007213/0.306, allocations: 456.7 kB / 0.9855 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.306, allocations: 15.97 kB / 0.9855 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.801e-05/0.3061, allocations: 12.84 kB / 0.9855 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000541/0.3066, allocations: 250.3 kB / 0.9858 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.3067, allocations: 12.38 kB / 0.9858 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.3067, allocations: 12.38 kB / 0.9858 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.3069, allocations: 90.14 kB / 0.9859 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.307, allocations: 7.938 kB / 0.9859 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.307, allocations: 0 / 0.9859 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.307, allocations: 4 kB / 0.9859 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.3072, allocations: 54.61 kB / 0.9859 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007014/0.3079, allocations: 388.4 kB / 0.9863 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.308, allocations: 46.55 kB / 0.9863 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.776e-05/0.3081, allocations: 20.84 kB / 0.9864 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.3082, allocations: 0 / 0.9864 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002687/0.3084, allocations: 103.3 kB / 0.9865 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.3085, allocations: 4 kB / 0.9865 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0004348/0.3089, allocations: 137.4 kB / 0.9866 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.3089, allocations: 55.34 kB / 0.9866 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.3091, allocations: 141.8 kB / 0.9868 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.3091, allocations: 33.7 kB / 0.9868 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.242e-05/0.3092, allocations: 112 kB / 0.9869 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.3092, allocations: 27.7 kB / 0.9869 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.76e-05/0.3093, allocations: 49.69 kB / 0.987 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.3094, allocations: 322.8 kB / 0.9873 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.3096, allocations: 43.97 kB / 0.9873 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.3098, allocations: 135 kB / 0.9875 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.3101, allocations: 204.6 kB / 0.9877 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3101, allocations: 0 / 0.9877 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004974/0.3106, allocations: 243.3 kB / 0.9879 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/0.3107, allocations: 34.08 kB / 0.9879 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.3107, allocations: 8 kB / 0.9879 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3107, allocations: 7.984 kB / 0.9879 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.3108, allocations: 31.92 kB / 0.988 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.3109, allocations: 11.88 kB / 0.988 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.3111, allocations: 35.81 kB / 0.988 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.3111, allocations: 15.98 kB / 0.988 GB, free: 4.098 MB / 0.7136 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.0001057/0.3112, allocations: 129.8 kB / 0.9882 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/0.3113, allocations: 7.906 kB / 0.9882 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.876e-05/0.3113, allocations: 24.64 kB / 0.9882 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3113, allocations: 0 / 0.9882 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.3113, allocations: 3.938 kB / 0.9882 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3113, allocations: 4 kB / 0.9882 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005483/0.3119, allocations: 398.4 kB / 0.9886 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3119, allocations: 0 / 0.9886 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.96e-05/0.312, allocations: 8 kB / 0.9886 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.312, allocations: 3.938 kB / 0.9886 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.312, allocations: 7.984 kB / 0.9886 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.312, allocations: 0 / 0.9886 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.312, allocations: 0 / 0.9886 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.3132, allocations: 1.152 MB / 0.9897 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/0.3133, allocations: 84.95 kB / 0.9898 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.3133, allocations: 8 kB / 0.9898 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.931e-05/0.3134, allocations: 12.03 kB / 0.9898 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.3134, allocations: 7.984 kB / 0.9898 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.3135, allocations: 4 kB / 0.9898 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.21e-05/0.3135, allocations: 101.5 kB / 0.9899 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3135, allocations: 0 / 0.9899 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003603/0.3139, allocations: 39.92 kB / 0.99 GB, free: 1.898 MB / 0.7136 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.0001922/0.3141, allocations: 107.4 kB / 0.9901 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003978/0.3145, allocations: 191.1 kB / 0.9903 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.3145, allocations: 4 kB / 0.9903 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.3147, allocations: 35.97 kB / 0.9903 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.315, allocations: 20.67 kB / 0.9903 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006384/0.3156, allocations: 433.3 kB / 0.9907 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.3159, allocations: 0.7087 MB / 0.9914 GB, free: 336 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.501e-05/0.316, allocations: 16.64 kB / 0.9914 GB, free: 320 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.316, allocations: 15.44 kB / 0.9915 GB, free: 304 kB / 0.7136 GB Notification: Performance of SimCode: time 1.673e-06/0.316, allocations: 0 / 0.9915 GB, free: 304 kB / 0.7136 GB Notification: Performance of Templates: time 0.004366/0.3204, allocations: 1.622 MB / 0.993 GB, free: 14.69 MB / 0.7292 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)