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.0008202/0.00082, allocations: 98.03 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.005651/0.005651, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.725/1.725, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.986/1.986, allocations: 292.7 MB / 0.5502 GB, free: 14.5 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.0005972/0.0005971, allocations: 21.78 kB / 0.6743 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3151, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.001286/0.3165, allocations: 0.5966 MB / 0.7885 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001846/0.3184, allocations: 1.18 MB / 0.7896 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.114e-05/0.3185, allocations: 4 kB / 0.7896 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.779e-05/0.3185, allocations: 3.938 kB / 0.7896 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.3186, allocations: 23.78 kB / 0.7897 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006887/0.3193, allocations: 131 kB / 0.7898 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.3195, allocations: 155.6 kB / 0.7899 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.3196, allocations: 33.09 kB / 0.79 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.3198, allocations: 59.83 kB / 0.79 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.91e-05/0.3199, allocations: 47.81 kB / 0.7901 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.943e-05/0.3199, allocations: 7.938 kB / 0.7901 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.036e-05/0.32, allocations: 23.98 kB / 0.7901 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.845e-05/0.3201, allocations: 19.91 kB / 0.7901 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.414e-05/0.3202, allocations: 77.42 kB / 0.7902 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.3204, allocations: 159.7 kB / 0.7903 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3204, allocations: 3.984 kB / 0.7904 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.358e-06/0.3204, allocations: 4 kB / 0.7904 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3204, allocations: 7.875 kB / 0.7904 GB, free: 9.039 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.0006731/0.3211, allocations: 428.9 kB / 0.7908 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3212, allocations: 8.031 kB / 0.7908 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.131e-05/0.3212, allocations: 12.84 kB / 0.7908 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005877/0.3218, allocations: 260.2 kB / 0.791 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/0.3219, allocations: 12.38 kB / 0.7911 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.671e-05/0.3219, allocations: 16.36 kB / 0.7911 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.3222, allocations: 89.03 kB / 0.7912 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3222, allocations: 11.86 kB / 0.7912 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.3222, allocations: 8 kB / 0.7912 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3222, allocations: 0 / 0.7912 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.3224, allocations: 55.95 kB / 0.7912 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007602/0.3232, allocations: 392.5 kB / 0.7916 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.3234, allocations: 38.56 kB / 0.7916 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.675e-05/0.3235, allocations: 32.95 kB / 0.7917 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.3235, allocations: 4 kB / 0.7917 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00023/0.3237, allocations: 103.2 kB / 0.7918 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.3237, allocations: 0 / 0.7918 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004692/0.3242, allocations: 145.5 kB / 0.7919 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.3243, allocations: 59.34 kB / 0.792 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.3244, allocations: 140.7 kB / 0.7921 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.3244, allocations: 37.7 kB / 0.7921 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.345e-05/0.3245, allocations: 108 kB / 0.7922 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.3246, allocations: 23.62 kB / 0.7923 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.3246, allocations: 30.08 kB / 0.7923 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3248, allocations: 322.8 kB / 0.7926 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.3249, allocations: 55.95 kB / 0.7927 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.3251, allocations: 131.1 kB / 0.7928 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.3255, allocations: 216.6 kB / 0.793 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3255, allocations: 0 / 0.793 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005325/0.326, allocations: 247 kB / 0.7932 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.019e-05/0.3261, allocations: 45.12 kB / 0.7933 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.3261, allocations: 8 kB / 0.7933 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.3262, allocations: 4 kB / 0.7933 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.3263, allocations: 23.98 kB / 0.7933 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.3263, allocations: 15.81 kB / 0.7933 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.3266, allocations: 59.8 kB / 0.7934 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.3266, allocations: 8 kB / 0.7934 GB, free: 5.629 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.0001131/0.3267, allocations: 125.8 kB / 0.7935 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.3267, allocations: 11.89 kB / 0.7935 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.112e-05/0.3268, allocations: 16.72 kB / 0.7935 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3268, allocations: 0 / 0.7935 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3268, allocations: 3.938 kB / 0.7935 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3268, allocations: 0 / 0.7935 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005798/0.3274, allocations: 414.3 kB / 0.7939 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3274, allocations: 0 / 0.7939 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.505e-05/0.3275, allocations: 16.03 kB / 0.7939 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.3275, allocations: 11.92 kB / 0.7939 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.3276, allocations: 8 kB / 0.794 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3276, allocations: 0 / 0.794 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3276, allocations: 0 / 0.794 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/0.328, allocations: 259.2 kB / 0.7942 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.217e-05/0.3281, allocations: 84.95 kB / 0.7943 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.3281, allocations: 8 kB / 0.7943 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.485e-05/0.3282, allocations: 8.031 kB / 0.7943 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.3282, allocations: 7.984 kB / 0.7943 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.3283, allocations: 4.188 kB / 0.7943 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.585e-05/0.3283, allocations: 109.7 kB / 0.7944 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3283, allocations: 3.938 kB / 0.7944 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002943/0.3286, allocations: 31.98 kB / 0.7944 GB, free: 4.426 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.0001982/0.3288, allocations: 114.1 kB / 0.7946 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004162/0.3293, allocations: 187.3 kB / 0.7947 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3293, allocations: 0 / 0.7947 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.3294, allocations: 47.91 kB / 0.7948 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.3297, allocations: 16.67 kB / 0.7948 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000543/0.3303, allocations: 317.6 kB / 0.7951 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.3305, allocations: 0.7087 MB / 0.7958 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.489e-05/0.3306, allocations: 16.64 kB / 0.7958 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.3306, allocations: 11.44 kB / 0.7958 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of SimCode: time 4.7e-07/0.3306, allocations: 0 / 0.7958 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of Templates: time 0.00468/0.3353, allocations: 1.528 MB / 0.7973 GB, free: 1.441 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: