Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009351/0.0009351, allocations: 81.95 kB / 21.47 MB, free: 3.027 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 166.8 kB / 24.87 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9669/0.9669, allocations: 177.1 MB / 205.3 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.818/1.818, allocations: 359 MB / 0.6063 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.488e-05/1.63e-05, allocations: 4.078 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001224/0.001241, allocations: 0.695 MB / 0.789 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.002594, allocations: 1.25 MB / 0.7902 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.375e-05/0.002628, allocations: 1.156 kB / 0.7902 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.251e-05/0.00265, allocations: 3.938 kB / 0.7902 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.983e-05/0.00271, allocations: 7.875 kB / 0.7902 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004161/0.003126, allocations: 217.6 kB / 0.7904 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.003298, allocations: 175.7 kB / 0.7906 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.238e-05/0.00337, allocations: 16.64 kB / 0.7906 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.003471, allocations: 96.45 kB / 0.7907 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.407e-05/0.003565, allocations: 55.89 kB / 0.7908 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.003592, allocations: 17.66 kB / 0.7908 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.361e-05/0.003646, allocations: 31.88 kB / 0.7908 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.542e-05/0.003671, allocations: 15.97 kB / 0.7908 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.921e-05/0.003721, allocations: 47.91 kB / 0.7909 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.00388, allocations: 141.2 kB / 0.791 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003882, allocations: 0 / 0.791 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.51e-07/0.003883, allocations: 0 / 0.791 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.003887, allocations: 4 kB / 0.791 GB, free: 9.453 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003715/0.004258, allocations: 459.8 kB / 0.7915 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.004291, allocations: 13.62 kB / 0.7915 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.985e-05/0.004331, allocations: 8.938 kB / 0.7915 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.464e-05/0.004406, allocations: 124.5 kB / 0.7916 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.004422, allocations: 12.3 kB / 0.7916 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.004443, allocations: 15.81 kB / 0.7916 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.01e-05/0.004513, allocations: 58.94 kB / 0.7917 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.00452, allocations: 3.938 kB / 0.7917 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.311e-06/0.004526, allocations: 0 / 0.7917 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.00453, allocations: 0 / 0.7917 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.497e-05/0.004545, allocations: 4 kB / 0.7917 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003046/0.004849, allocations: 308.3 kB / 0.792 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.54e-05/0.004915, allocations: 43.03 kB / 0.792 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.375e-05/0.004928, allocations: 16.39 kB / 0.792 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.288e-06/0.004933, allocations: 3.938 kB / 0.792 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.786e-05/0.005021, allocations: 93.48 kB / 0.7921 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.005022, allocations: 0.7188 kB / 0.7921 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0001714/0.005193, allocations: 113.5 kB / 0.7922 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.005222, allocations: 56.62 kB / 0.7923 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.249e-05/0.005294, allocations: 173.9 kB / 0.7925 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.00532, allocations: 33.7 kB / 0.7925 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.005376, allocations: 143.7 kB / 0.7926 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/0.00539, allocations: 21.02 kB / 0.7926 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.203e-05/0.005452, allocations: 55.33 kB / 0.7927 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.005567, allocations: 0.4923 MB / 0.7932 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-05/0.005649, allocations: 104.2 kB / 0.7933 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.005757, allocations: 169.6 kB / 0.7934 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.005877, allocations: 182.9 kB / 0.7936 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.005879, allocations: 0.75 kB / 0.7936 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002716/0.006151, allocations: 325.3 kB / 0.7939 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.983e-05/0.00619, allocations: 71.39 kB / 0.794 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.006195, allocations: 2.219 kB / 0.794 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.006203, allocations: 4 kB / 0.794 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.411e-05/0.006237, allocations: 11.88 kB / 0.794 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.00624, allocations: 0 / 0.794 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.006381, allocations: 50.62 kB / 0.7941 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.006403, allocations: 15.98 kB / 0.7941 GB, free: 5.988 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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 7.898e-05/0.006482, allocations: 172.5 kB / 0.7942 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.006494, allocations: 7.938 kB / 0.7942 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.815e-05/0.006512, allocations: 8.438 kB / 0.7943 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.006515, allocations: 4 kB / 0.7943 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-06/0.006517, allocations: 1.469 kB / 0.7943 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.006521, allocations: 3.984 kB / 0.7943 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.00673, allocations: 322.3 kB / 0.7946 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.006732, allocations: 0.5 kB / 0.7946 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.002e-06/0.006738, allocations: 4 kB / 0.7946 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.00674, allocations: 4.562 kB / 0.7946 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.006746, allocations: 5.359 kB / 0.7946 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.006747, allocations: 0 / 0.7946 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.006748, allocations: 0 / 0.7946 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.006863, allocations: 243.8 kB / 0.7948 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-06/0.006871, allocations: 8.578 kB / 0.7948 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.006886, allocations: 3.984 kB / 0.7948 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.132e-05/0.006917, allocations: 9.969 kB / 0.7948 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.006938, allocations: 3.984 kB / 0.7948 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.006949, allocations: 4 kB / 0.7948 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.051e-05/0.00699, allocations: 135.2 kB / 0.795 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.00699, allocations: 0 / 0.795 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000179/0.007169, allocations: 36.5 kB / 0.795 GB, free: 4.977 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 9.857e-05/0.007267, allocations: 110.6 kB / 0.7951 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.007473, allocations: 274.7 kB / 0.7954 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.007474, allocations: 0.8438 kB / 0.7954 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.082e-05/0.007505, allocations: 31.61 kB / 0.7954 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.007704, allocations: 24.95 kB / 0.7954 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002258/0.00793, allocations: 170.4 kB / 0.7956 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.138e-05/0.007961, allocations: 59.34 kB / 0.7956 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.038e-05/0.007982, allocations: 8.734 kB / 0.7957 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.008083, allocations: 106.2 kB / 0.7958 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of SimCode: time 9.12e-07/0.008084, allocations: 0 / 0.7958 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of Templates: time 0.003523/0.01161, allocations: 2.372 MB / 0.7981 GB, free: 1.805 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.149298462085426]