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.001396/0.001396, allocations: 103.8 kB / 16.36 MB, free: 6.309 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.001389/0.001389, allocations: 192.3 kB / 17.29 MB, free: 5.871 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.431/1.431, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.797/1.797, allocations: 292.3 MB / 0.5496 GB, free: 17.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.001486/0.001487, allocations: 75.02 kB / 0.6729 GB, free: 5.781 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2633, allocations: 114.6 MB / 0.7848 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.002443/0.2658, allocations: 0.8852 MB / 0.7857 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.2675, allocations: 1.172 MB / 0.7868 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.054e-05/0.2676, allocations: 0 / 0.7868 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.199e-05/0.2677, allocations: 11.88 kB / 0.7868 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.2678, allocations: 23.78 kB / 0.7868 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005788/0.2684, allocations: 155.3 kB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.2686, allocations: 175.6 kB / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.2688, allocations: 33.11 kB / 0.7872 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.269, allocations: 71.81 kB / 0.7873 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.2692, allocations: 63.78 kB / 0.7873 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.2692, allocations: 16 kB / 0.7873 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.419e-05/0.2693, allocations: 31.92 kB / 0.7874 GB, free: 484 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.619e-05/0.2693, allocations: 23.92 kB / 0.7874 GB, free: 460 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.519e-05/0.2694, allocations: 59.78 kB / 0.7874 GB, free: 400 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.2697, allocations: 179.3 kB / 0.7876 GB, free: 220 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2697, allocations: 4 kB / 0.7876 GB, free: 216 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.083e-06/0.2698, allocations: 0 / 0.7876 GB, free: 216 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.2698, allocations: 0 / 0.7876 GB, free: 216 kB / 0.6544 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.4469/0.7167, allocations: 450.3 kB / 0.7881 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.7168, allocations: 9.781 kB / 0.7881 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.187e-05/0.7168, allocations: 12.94 kB / 0.7881 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004951/0.7173, allocations: 251.5 kB / 0.7883 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.7174, allocations: 3.688 kB / 0.7883 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/0.7174, allocations: 15.59 kB / 0.7883 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.7176, allocations: 94.23 kB / 0.7884 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.7176, allocations: 3.938 kB / 0.7884 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.7177, allocations: 0.75 kB / 0.7884 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.7177, allocations: 2.781 kB / 0.7884 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.7179, allocations: 52.89 kB / 0.7885 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006218/0.7185, allocations: 390 kB / 0.7889 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.7186, allocations: 45.42 kB / 0.7889 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.427e-05/0.7187, allocations: 22.33 kB / 0.7889 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.7187, allocations: 2.812 kB / 0.7889 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.7189, allocations: 99.05 kB / 0.789 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.719, allocations: 0 / 0.789 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.000396/0.7194, allocations: 136.3 kB / 0.7891 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.7194, allocations: 60.44 kB / 0.7892 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.714e-05/0.7195, allocations: 140.8 kB / 0.7893 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.7195, allocations: 34.61 kB / 0.7894 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.7196, allocations: 108.8 kB / 0.7895 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.7196, allocations: 28.31 kB / 0.7895 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-05/0.7197, allocations: 51.31 kB / 0.7895 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.548e-05/0.7197, allocations: 322.1 kB / 0.7899 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.7199, allocations: 45.05 kB / 0.7899 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.72, allocations: 136.3 kB / 0.79 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.7203, allocations: 201.4 kB / 0.7902 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.7203, allocations: 0 / 0.7902 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004472/0.7208, allocations: 248.5 kB / 0.7905 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.7208, allocations: 39.98 kB / 0.7905 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.7208, allocations: 3.906 kB / 0.7905 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.7209, allocations: 3.031 kB / 0.7905 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.721, allocations: 31.33 kB / 0.7905 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.721, allocations: 10.34 kB / 0.7905 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.7212, allocations: 39.59 kB / 0.7906 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.7213, allocations: 16.92 kB / 0.7906 GB, free: 47.33 MB / 0.6544 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 8.062e-05/0.7213, allocations: 127.8 kB / 0.7907 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.7214, allocations: 13.81 kB / 0.7907 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.718e-05/0.7214, allocations: 10.03 kB / 0.7907 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.7214, allocations: 2.906 kB / 0.7907 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.7214, allocations: 4.844 kB / 0.7907 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.7214, allocations: 0 / 0.7907 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004705/0.7219, allocations: 396.9 kB / 0.7911 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.7219, allocations: 0 / 0.7911 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.039e-05/0.722, allocations: 22.41 kB / 0.7911 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.722, allocations: 4.875 kB / 0.7912 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.7221, allocations: 1.062 kB / 0.7912 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.7221, allocations: 0 / 0.7912 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.7221, allocations: 2.469 kB / 0.7912 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.7224, allocations: 243 kB / 0.7914 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.7225, allocations: 98.27 kB / 0.7915 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.7225, allocations: 2.656 kB / 0.7915 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.772e-05/0.7226, allocations: 11.27 kB / 0.7915 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.7227, allocations: 6.328 kB / 0.7915 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.7227, allocations: 8.047 kB / 0.7915 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.944e-05/0.7227, allocations: 108.1 kB / 0.7916 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7227, allocations: 0 / 0.7916 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002867/0.723, allocations: 30.69 kB / 0.7916 GB, free: 46.6 MB / 0.6544 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.0001575/0.7232, allocations: 112.5 kB / 0.7917 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003622/0.7236, allocations: 183.9 kB / 0.7919 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7236, allocations: 2.625 kB / 0.7919 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.7237, allocations: 43.75 kB / 0.792 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.724, allocations: 20.61 kB / 0.792 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005123/0.7245, allocations: 293.6 kB / 0.7923 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.7247, allocations: 0.7029 MB / 0.793 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.7247, allocations: 19.75 kB / 0.793 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of SimCode: time 9.52e-07/0.7247, allocations: 0 / 0.793 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of Templates: time 0.003242/0.7279, allocations: 1.714 MB / 0.7946 GB, free: 45.46 MB / 0.6544 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)